Skip to content

Commit 784746f

Browse files
committed
删除lock文件,更新说明
1 parent 905d676 commit 784746f

File tree

3 files changed

+18
-20660
lines changed

3 files changed

+18
-20660
lines changed

exam/README.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
1-
# vue-init
1+
# 项目介绍及启动说明
22

3-
> vue demo
3+
> 在线考试系统-前端项目文件。
44
5-
## Build Setup
5+
### 安装建议
6+
7+
> 建议使用`yarn`来安装项目依赖,首先安装yarn,然后设置yarn源为淘宝镜像
68
79
``` bash
8-
# install dependencies
9-
npm install
10+
# 安装yarn
11+
npm install yarn -g
12+
13+
# 查看是否安装成功
14+
yarn -v
1015

11-
# serve with hot reload at localhost:8080
12-
npm run dev
16+
# 设置yarn源为淘宝镜像源
17+
yarn config set registry https://registry.npm.taobao.org
1318

14-
# build for production with minification
15-
npm run build
19+
# 安装依赖
20+
yarn install or npm install
1621

17-
# build for production and view the bundle analyzer report
18-
npm run build --report
19-
```
22+
# 启动项目
23+
yarn dev or npm run dev
2024

21-
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
25+
# 打包构建
26+
yarn build or npm run build

0 commit comments

Comments
 (0)