想看中文!
1. 增加了一个新命令:npm run site --name=[site-name],'site-name'来自 config/sites.config.js, 缺省的话就是'dev'
2. 在 build/prebuild中,我会利用nginx config模板(config/nginx.base.conf)来生成一个新的用于线上docker里的nginx.conf
3. 对于某些入口新增了v-router配置,实现多页面里某个入口单页面
## Deploy(deploy files are not uploaded)
#### 1. Static Files
```
npm run site --name=[site-name]
```
#### 2. With Docker
In 'cli' folder, there are two deploy files. One is for building a docker image. The other is for deploying the docker image to production environment if the environment is accessible (can use ssh command)
```
cd [project]
bash ./cli/pub_docker.sh
bash ./cli/deploy.sh
```
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Compiles and minifies for specified site
```
npm run site --name=[site-name]
```
### Compiles and minifies an UMD UI lib (imported by scripts tag)
```
npm run build-lib
```
### Compiles and minifies components with UMD style (import a single component by scripts tag)
```
npm run build-all
```
### Compiles and minifies an icon lib (imported by scripts tag)
```
npm run build-icons
```
### Run your tests
```
npm run test
```
### Lints and fixes files
```
npm run lint
```
## TODO List
- [x] add a demo
- [x] add a image for company structure
- [x] remove unuseful file in demo
- [x] using Chinese
- [x] modify my english syntax
- [x] more detail