项目作者: luyixin

项目描述 :
??A template based on mpvue while satisfying WeChat mini program and h5! 基于mpvue的模板,同时满足WeChat 小程序和h5
高级语言: JavaScript
项目地址: git://github.com/luyixin/compatible.git
创建时间: 2018-06-13T07:31:39Z
项目社区:https://github.com/luyixin/compatible

开源协议:

下载


compatible

🇨🇳A template based on mpvue while satisfying WeChat mini program and h5!Write once and run on the WeChat mini program and web side at the same time!

基于mpvue的模板,同时满足WeChat mini程序和h5,只写一次,同时运行在微信小程序和web端

说明

This project is only to achieve the function, but also need to follow-up optimization. If you are interested in this project, welcome to submit the code, thank you, contribute to the open source.


这个项目,只是实现了功能,还需要后续优化,如果您对这个项目感兴趣,欢迎提交代码,谢谢,为开源贡献一份力。


在小程序工具跑起来的时候,请改一下Appid

截图展示


appweb

Build Setup

  1. # install dependencies
  2. npm i
  3. # serve with hot reload at localhost:3000
  4. npm run dev:web
  5. # build for production with minification
  6. npm run build:web
  7. # serve with hot reload at small app
  8. npm run dev:base
  9. # build for small app production with minification
  10. npm run build:base