XingFu Network HTML5 Framework
https://dondevi.github.io/wechat-h5-framework/docs/index.html
Build
/src
to/dist
npm run dist
dist
: source code will be compiled to this distination folderdocs
: markdown documents for this frameworksrc
: source codetests
: karma test filesvendors
: third party libraies
┌──────────────────┐
│ components │
├─────────┬────────┤
│ modules │ themes │
└─────────┴────────┘
┌──────────────────┐
│ vendors │
└──────────────────┘
- Rebuild
- Themes
- Vue
- Build
$ npm run dist
- Pack
dist
todocs/xfh5-x.x.x.rar
- Move
dist
todocs/xfh5
- Change version text in
docs/markdown/main.md
- Sublime Build
docs/markdown/index.md
-Ctrl + B
- Open
docs/markdown/index.html
- Replace css & script's absolute path
../../docs/
to./
- Move
docs/markdown/index.html
todocs/index.html