Skip to content

Commit a587b46

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

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "src/weui-wxss"]
2-
path = src/weui-wxss
3-
url = https://github.com/Tencent/weui-wxss

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": "git submodule init && git submodule update --init --remote && npm run dev",
7+
"init": "tnpm i && cd src/weui-wxss && tnpm 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)