华西四个小程序

liuxianan 800a1a41c5 Merge branch 'xbdev' of miniprogram-hx/hx-miniprogram into master 2 weeks ago
apps 800a1a41c5 Merge branch 'xbdev' of miniprogram-hx/hx-miniprogram into master 2 weeks ago
build deefc84abf fit:shop-miniprogram 1 month ago
common 0958745d43 fit:lr 1 month ago
components afe7a51939 fit:loginTest 1 month ago
styles 4c3615a3d6 fix:改变目录 1 month ago
templates 4c3615a3d6 fix:改变目录 1 month ago
.eslintignore 0958745d43 fit:lr 1 month ago
.eslintrc.js 0958745d43 fit:lr 1 month ago
.gitignore 0958745d43 fit:lr 1 month ago
README.md 0958745d43 fit:lr 1 month ago
bundle.js f9e4d2c71b fix:config 1 month ago
index.js 0958745d43 fit:lr 1 month ago
package-lock.json afe7a51939 fit:loginTest 1 month ago
package.json afe7a51939 fit:loginTest 1 month ago

README.md

hx-miniprogram

管理4个华西微信小程序

安装

git clone https://git.finogeeks.club/miniprogram-hx/hx-miniprogram.git
npm install

目录结构

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

开发

npm run dev

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

npm run clean

clean 命令清理公共代码

npm run lint

lint 命令执行代码校验

规范

  • 项目集成了 eslint进行校验