Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ npm run init
```
完成上述步骤后,使用微信开发者工具,点击【工具-构建npm】

打开project.config.json,将AppId替换为自己的AppId(登录[微信公众平台](https://mp.weixin.qq.com/),开发->开发管理->开发设置,复制自己的Appid)

使用[微信开发者工具](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html)打开该示例代码,云开发环境搭建请参考[云开发示例说明](https://github.com/wechat-miniprogram/miniprogram-demo/blob/master/miniprogram/page/cloud/README.md)。



## 贡献

如果你有 bug 反馈或其他任何建议,欢迎提 issue 给我们。
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "WeChat miniprogram demo",
"scripts": {
"init": "cd cloudfunctions/ && tnpm i --production && cd ../miniprogram/ && tnpm i --production",
"init": "cd miniprogram/ && npm i --production",
"lint": "eslint .",
"wxss:transform-vars": "gulp transform-css-vars"
},
Expand Down