Coder Social home page Coder Social logo

weapps's Introduction

weapps

支持用一个项目管理多个微信小程序

2020.07.24 更新

2020 年了,该项目已经不推荐使用,有更好的多端及模块复用的解决方案,具体可以查阅该讨论 #1

安装

git clone [email protected]:qhbhq/weapps.git
npm install

目录结构

  • apps/:存放全部小程序,可在微信开发者工具打开对应小程序
  • build/:存放构建脚本
  • common/:存放公共代码
  • components/:存放公共组件
  • styles/:存放公共样式
  • templates/:存放公共模版

开发

npm run dev

dev 命令公共代码同步给全部小程序,存放在以下划线开头的文件夹,供各小程序调用

npm run clean

clean 命令清理公共代码

npm run lint

lint 命令执行代码校验

规范

  • 项目集成了 huskyeslint,代码 commit 前会自动执行校验

weapps's People

Contributors

qiuhongbingo avatar

Stargazers

 avatar  avatar 轻语 avatar  avatar shenjiuer avatar jack avatar

weapps's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.