Demo codes for 🐼📖 which used in a very early version.
Gifing...
git clone [email protected]:Thunf/wepy-demo-bookmall.git
cd wepy-demo-bookmall
npm install wepy-cli -g
npm install
npm run dev
Remind
- 使用微信开发者工具新建项目,本地开发选择
dist
目录 - 微信开发者工具 -> 项目
- 关闭 ES6 转 ES5
- 关闭 代码压缩上传
- 关闭 上传代码时样式文件自动补全
- 开启 开发环境不校验请求域名、TLS版本以及HTTPS证书
npm run build
-
npm run dev
- Compile
.wpy
files to.wxml
/.js
/.wxss
etc - Related NPM packages
- Copy static files
- Watch changes
- Compile
-
npm run build
: Production ready build.- Compile
.wpy
files to.wxml
/.js
/.wxss
etc - Related NPM packages
- Minified JavaScript
- Copy static files
- Compile
This repository relies on the wepy, thanks to the efforts of the author.
For detailed explanation & more functions, checkout the 微信官方小程序文档 and 小程序框架wepy文档.
You can fork this repo to create your own demo, and run it.
Please note that the open source protocol for this repository is GPL. This means that you have the freedom to run, copy, modify and distribute the software. However, this software your modified itself is bound by GPL.
You must open the source code
Copyright (c) 2017 - Present, Thunf