Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fozero committed Nov 19, 2016
1 parent b630e73 commit db413c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ https://mp.weixin.qq.com/debug/wxadoc/dev/?t=20161107
# 必须掌握的几个知识点


##
## 配置

- app.json文件小程序设置全局配置 ,包括页面路径、窗口、选项卡,以及网络超时等

`
{
"pages": [
"pages/index/index",
Expand All @@ -43,7 +43,7 @@ https://mp.weixin.qq.com/debug/wxadoc/dev/?t=20161107
},
"debug": true
}

`
- 通过appapp.js文件中App()来注册一个小程序 提供了生命周期方法

App({
Expand Down

0 comments on commit db413c2

Please sign in to comment.