Skip to content

Commit 4d5fc1e

Browse files
committed
README更新
1 parent 159a9ef commit 4d5fc1e

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

my-project-vue2/README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
11
# my-project-vue2
22

3-
## Project setup
3+
## 安装依赖
44
```
55
yarn install
66
```
77

8-
### Compiles and hot-reloads for development
8+
### 开发微信小程序
99
```
10-
yarn serve
10+
yarn dev:mp-weixin
1111
```
1212

13-
### Compiles and minifies for production
13+
### 打包微信小程序
1414
```
15-
yarn build
15+
yarn build:mp-weixin
1616
```
1717

18-
### Customize configuration
19-
See [Configuration Reference](https://cli.vuejs.org/config/).
18+
### 更多命令
19+
具体命令可看文件 package.json,或者 [文档](https://uniapp.dcloud.net.cn/worktile/CLI.html).
20+
21+
### 注意
22+
uview ui 需要安装 node-sass,必须对应相应的node版本。主要注意以下几个库的版本:
23+
1. node -v // v14.20.0
24+
2. vue --version //@vue/cli 4.5.19
25+
3. node-sass //4.14.1
26+
4. sass-loader //^10.1.1

0 commit comments

Comments
 (0)