mirror of
https://github.com/xxxsf/vue3-h5-template.git
synced 2025-04-06 05:23:46 +08:00
Update readme.md
This commit is contained in:
parent
e23d657fa7
commit
8734886da9
30
readme.md
30
readme.md
@ -1,18 +1,28 @@
|
|||||||
## Setup
|
# Example VUE-SPA
|
||||||
``` bash
|
- 有问题请联系qq:416175716
|
||||||
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>
|
||||||
|
|
||||||
##学习参考:
|
##学习参考:
|
||||||
待续
|
待续...
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user