Update readme.md

This commit is contained in:
xsf 2016-08-18 18:05:31 +08:00 committed by GitHub
parent e23d657fa7
commit 8734886da9

View File

@ -1,18 +1,28 @@
## Setup # Example VUE-SPA
``` bash - 有问题请联系qq416175716
npm install
npm start
```
访问 localhost:8080
如果想在手机上查看 ## How to use
``` bash
$ git clone git@github.com:allan2coder/Vue-SPA.git <yourAppName>
$ cd <yourAppName>
$ npm install
```
launch the project app.
``` bash
$ npm start
```
Then, You should see a new browser tap opening and a page of "index.html" in http://127.0.0.1:8080.
-watch on your mobile
``` ```
npm run ip npm run ip
``` ```
访问 你本地的ip:9000 访问 你本地的ip:9000
## 版本控制,打包压缩 ## Release
MAC MAC
``` ```
@ -25,7 +35,7 @@ windows
npm run wb npm run wb
``` ```
## 目录结构 ## CONSTRUCTION
<pre> <pre>
│ .gitignore # 忽略无需git控制的文件 比如 node_modules │ .gitignore # 忽略无需git控制的文件 比如 node_modules
│ package.json # 项目配置 │ package.json # 项目配置
@ -54,5 +64,5 @@ npm run wb
</pre> </pre>
##学习参考 ##学习参考
待续 待续...