https://github.com/xingxi521/mpvue-readbook
mpvue全家桶写的微信书城小程序
https://github.com/xingxi521/mpvue-readbook
Last synced: 2 months ago
JSON representation
mpvue全家桶写的微信书城小程序
- Host: GitHub
- URL: https://github.com/xingxi521/mpvue-readbook
- Owner: xingxi521
- Created: 2021-03-02T05:29:06.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-02T05:41:31.000Z (about 4 years ago)
- Last Synced: 2025-01-15T07:57:45.106Z (4 months ago)
- Language: Vue
- Size: 1.01 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# book-shop
> A Mpvue project
## Build Setup
``` bash
# 初始化项目
vue init mpvue/mpvue-quickstart myproject
cd myproject# 安装依赖
yarn# 开发时构建
npm dev# 打包构建
npm build# 指定平台的开发时构建(微信、百度、头条、支付宝) 此源码暂时只做了微信小程序,其他小程序没兼容
npm dev:wx
npm dev:swan
npm dev:tt
npm dev:my# 指定平台的打包构建
npm build:wx
npm build:swan
npm build:tt
npm build:my# 生成 bundle 分析报告
npm run build --report
```For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).