Skip to content

Commit efaf057

Browse files
author
cunjinli
committed
fixed: 修复初始化失败bug #2
1 parent a587b46 commit efaf057

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
## 开发
88

9-
1. 安装依赖
9+
1. 初始化
1010

1111
```
12-
npm install
12+
npm run init
1313
```
1414

1515
2. 执行命令:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "",
55
"main": "miniprogram_dist/index.js",
66
"scripts": {
7-
"init": "tnpm i && cd src/weui-wxss && tnpm i && gulp build:style && cd ../../ && npm run dev",
7+
"init": "npm i && cd src/weui-wxss && npm i && gulp build:style && cd ../../ && npm run dev",
88
"dev": "gulp dev --develop",
99
"demo": "gulp demo --develop",
1010
"watch": "gulp watch --develop --watch",

0 commit comments

Comments
 (0)