Update README.md

master
p74081953 3 years ago
parent ff434946f3
commit c2652bc6ac

@ -1,19 +1,26 @@
# newvue
## Project setup
##需要事先安装node.jsnpm建议使用IntelliJ idea
###运行cmd控制台安装yarn并配置淘宝源
```
npm install
npm install -g yarn --registry=https://registry.npm.taobao.org
yarn config set registry https://registry.npm.taobao.org -g
```
### Compiles and hot-reloads for development
### 进入项目根目录进行安装
```
npm run serve
yarn install
```
### Compiles and minifies for production
### 运行工程
```
npm run build
yarn run serve
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
### 运行成功如下:
```
App running at:
-local: http://localhost:xxxx/
-Network: http://xxx.xxx.xxx.xxx/
```
###复制local那行的网址用浏览器打开
Loading…
Cancel
Save