项目作者: xbkaishui

项目描述 :
element vue demo element-ui
高级语言: Vue
项目地址: git://github.com/xbkaishui/element-demo.git
创建时间: 2017-02-08T15:02:22Z
项目社区:https://github.com/xbkaishui/element-demo

开源协议:

下载


Environment

Node >= 6

Start

  • Clone or download this repository
  • Enter your local directory, and install dependencies:
  1. npm install

Develop

  1. # serve with hot reload at localhost:8010
  2. npm run dev

Build

  1. # build for production with minification
  2. npm run build

vue 插件列表学习 指南

buble es5 compiler

rollup 打包工具 next-generation JavaScript module bundler

typescript

uglify-js JavaScript parser / mangler / compressor / beautifier library for NodeJS

lodash js 工具库

flow-bin A STATIC TYPE CHECKER FOR JAVASCRIPT

饿了吗

eleAdmin 后台配置

element 前端UI

element source code

awesome element

cooking 脚手架

使用插件集合

http axios

axios-mock-adapter

模拟测试数据

  1. 测试框架使用 axios-mock-adapter,本地数据mock
  2. 安装 [json-server](https://github.com/typicode/json-server)
  3. npm install -g json-server
  4. 启动server:
  5. json-server -p 8011 -w data.json
  6. http://localhost:8011/models?_start=1&_limit=10
  7. http://localhost:8011/models?ModId=1*/
  8. example:
  9. http://www.betterpixels.co.uk/projects/2015/05/09/mock-up-your-rest-api-with-json-server/