wepy-demo-bookmall
Demo codes for 🐼满熊阅读📖 which used in a very early version.
Features
Related miniApp
Usage
Start
git clone git@github.com:Thunf/wepy-demo-bookmall.git
cd wepy-demo-bookmall
npm install wepy-cli -g
npm install
npm run dev
For Alipay
git checkout alipay
npm run dev
Remind
- 使用微信开发者工具新建项目,本地开发选择
dist
目录 - 微信开发者工具 -> 项目
- 关闭 ES6 转 ES5
- 关闭 代码压缩上传
- 关闭 上传代码时样式文件自动补全
- 开启 开发环境不校验请求域名、TLS版本以及HTTPS证书
Build
npm run build
What's Included
-
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
Thanks
This repository relies on the wepy, thanks to the efforts of the author.
For detailed explanation & more functions, checkout the 微信官方小程序文档 and 小程序框架wepy文档.
Fork It And Make Your Own
You can fork this repo to create your own demo, and run it.
LICENSE
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