element vue demo element-ui
Node >= 6
npm install
# serve with hot reload at localhost:8010
npm run dev
# build for production with minification
npm run build
rollup 打包工具 next-generation JavaScript module bundler
uglify-js JavaScript parser / mangler / compressor / beautifier library for NodeJS
flow-bin A STATIC TYPE CHECKER FOR JAVASCRIPT
测试框架使用 axios-mock-adapter,本地数据mock
安装 [json-server](https://github.com/typicode/json-server)
npm install -g json-server
启动server:
json-server -p 8011 -w data.json
http://localhost:8011/models?_start=1&_limit=10
http://localhost:8011/models?ModId=1*/
example:
http://www.betterpixels.co.uk/projects/2015/05/09/mock-up-your-rest-api-with-json-server/