学习《小书架》课程:https://github.com/SuperJolly/wxapp-little-shelf
- 新建本地数据库取名 wxapp,执行 server/wxapp.sql 文件生成数据表
- 将 AppID 和 AppSecret 填入到 server/config/app.js 中
appConfig: {
appid: '填写小程序 AppID',
secret: '填写小程序 AppSecret'
}
- 运行服务端:cd server && npm install && npm start
- 使用微信开发者工具打开 client 目录
- 如何实现小程序登录
- 如何进行页面跳转传参:url 携带参数
- ...