|
1 | 1 |
|
2 | 2 | ## iBiu |
3 | | -### 一步到位的Vue脚手架工具 |
| 3 | +### One-stop Vue scaffolding tool |
4 | 4 |  |
5 | 5 |
|
6 | | -#### [windows 64位版本软件下载](https://link.juejin.im/?target=https%3A%2F%2Fgit.oschina.net%2Fkarl-vicent%2FiBiu%2Fraw%2Fmaster%2Fwin%2FiBiu%2520Setup%25201.0.0.exe) |
7 | | -#### [MAC 软件下载](https://link.juejin.im/?target=https%3A%2F%2Fgit.oschina.net%2Fkarl-vicent%2FiBiu%2Fraw%2Fmaster%2Fmacos%2FiBiu-1.0.0.dmg) |
| 6 | +[中文文档看这里](/docs/cn.md) |
| 7 | + |
| 8 | +#### [Windows x64](https://link.juejin.im/?target=https%3A%2F%2Fgit.oschina.net%2Fkarl-vicent%2FiBiu%2Fraw%2Fmaster%2Fwin%2FiBiu%2520Setup%25201.0.0.exe) |
| 9 | +#### [MAC](https://link.juejin.im/?target=https%3A%2F%2Fgit.oschina.net%2Fkarl-vicent%2FiBiu%2Fraw%2Fmaster%2Fmacos%2FiBiu-1.0.0.dmg) |
8 | 10 |
|
9 | 11 |
|
10 | 12 | > iBiu was developed based on [iView-cli](https://github.com/iview/iview-cli) |
11 | 13 | > <br>`I'd like to thank iView-Cli's developers very much` |
12 | 14 |
|
13 | 15 |
|
14 | | -主要基于 |
| 16 | +base on |
15 | 17 |
|
16 | 18 | - [Vue-cli](https://github.com/vuejs/vue-cli) |
17 | 19 | - [iView-cli](https://github.com/iview/iview-cli) |
18 | 20 | - [Node.js](https://nodejs.org/en/) |
19 | 21 | - [electron](https://electron.atom.io/) |
20 | 22 |
|
21 | | -### 实现功能 |
22 | | -#### 常见的脚手架需求 |
23 | | - - 创建项目目录结构 |
24 | | - - 创建配置项(包括 webpack 的配置项,gitignore等) |
25 | | - - 根据设置创建packgejson |
26 | | - |
27 | | -#### 痛点需求解决 |
28 | | - - 根据用户提供的json数组**创建页面目录,结构与json上的一致** |
29 | | - - 根据用户提供的json数组**创建各个页面到各自对应的目录** |
30 | | - - 根据用户提供的json数组创建**路由配置项,并将页面注册到路由上** |
31 | | - |
32 | | -> 意思是:当遇到比较大的vue项目时,你再也不用痛苦的一个一个去注册路由了!!! |
33 | | -
|
34 | | -### 使用方法 |
35 | | - |
36 | | -1. 点击新建项目<br> |
37 | | -  |
38 | | -2. 选择你与要配置的库 |
39 | | -3. 粘贴上你需要创建目录JSON[格式请参照此格式来](https://github.com/bobiscool/iBiu/blob/master/assets/github/formater.json)<br> |
40 | | -  |
41 | | -4. 点击创建工程 |
42 | | -5. 创建完毕后打开目录<br> |
43 | | - <br> |
| 23 | +### Achieve function |
| 24 | +#### Common scaffolding needs |
| 25 | + - Create a project directory structure |
| 26 | + - Create configuration items (including webpack configuration items, gitignore, etc.) |
| 27 | + - According to the settings to create packgejson |
| 28 | + |
| 29 | +#### Pain point have been solved |
| 30 | + - Create page directories based on the JSON array provided by the user, and the structure is consistent with the JSON |
| 31 | + - Create various pages to their respective directories based on the JSON array provided by the user. |
| 32 | + - Create a route configuration item based on the user-supplied json array and register the page with the route. |
| 33 | + |
| 34 | +> Means: When faced with a larger vue project, you no longer have to go to register router one by one painfully! ! ! |
| 35 | +
|
| 36 | +### Instructions |
| 37 | + |
| 38 | +1. Click New Project<br> |
| 39 | +  |
| 40 | +2. Select the library you want to configure |
| 41 | +3. Paste you need to create the directory JSON [format please refer to this format](https://github.com/bobiscool/iBiu/blob/master/assets/github/formater.json)<br> |
| 42 | +  |
| 43 | +4. Click Create Project |
| 44 | +  |
| 45 | +5. Open the directory after creation<br> |
| 46 | + <br> |
44 | 47 |  |
45 | | - - 执行 `npm install` |
46 | | - - 执行 `npm run dev` |
47 | | -6. 访问 `http://localhost:8080`<br> |
| 48 | + - Run `npm install` |
| 49 | + - Run `npm run dev` |
| 50 | +6. Visit `http://localhost:8080`<br> |
48 | 51 | <br> |
49 | 52 |  |
50 | 53 |
|
|
0 commit comments