UNPKG

1.67 kBMarkdownView Raw
1##搜索APP部 前端构建工具
2
3###sgs-node
4
5```
6> npm i -g sgs-node@latest
7> mkdir helloworld
8> cd helloworld
9> sgs-node init
10> npm update && npm i
11> npm run build
12> npm start
13Now U can happy to code
14```
15
16### 初始化
17生成目录
18
19```
20├── config
21│   ├── default.js
22│   └── production.js
23├── mock
24│ ├── input
25│ │ └── index.js
26│   └── output
27│ │ └── index.js
28├── server
29│   ├── config
30│   │   ├── default.js
31│   │   ├── dev.js
32│   │   ├── development.js
33│   │   ├── production.js
34│   │   ├── staging.js
35│   │   └── test.js
36│  ├── index.js
37│   └── pm2.json
38├── src
39│ ├── api
40│ ├── pages
41│ │ ├── index
42│ │ │ ├── router
43│ │ │ │ └── index.js
44│ │ │ ├── store
45│ │ │ │ ├── actions.js
46│ │ │ │ ├── getters.js
47│ │ │ │ ├── index.js
48│ │ │ │ └── mutations.js
49│ │ │ ├── views
50│ │ │ │ ├── hellowasync.vue
51│ │ │ │ └── helloworld.vue
52│ │ │ ├── app.vue
53│ │ │ ├── config.js
54│ │ │ └── csr.vue
55│ └── global.js
56├── zoo
57│ └── index.js
58├── favicon.ico
59├── package.json
60└── project.config.js
61
62```