数字华容道游戏H5版
移动滑块,直到数字按顺序1-15排列
Demo (仅支持手机)
Run this to init project.
npm run init
init includes iconfont build and dll build.
- build iconfont
Run this after you run npm install
, and when you change fonts icon(svg) in src/assets/fonts/
.
gulp font:icon
- build dll
Run this after you run npm install
, and when you change lib.
npm run build:dll
- build dist
Run this when you finish development and need generate to a distribution directory.
npm run build:dist
npm start # npm run start
npm run release # equals `npm run build:dll && npm run build:dist`
npm run server # A server to test distribution
npm run clean # Clear dist/ directory