Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 947 Bytes

README.md

File metadata and controls

46 lines (26 loc) · 947 Bytes

效果图:

Image text

our

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

1下载nodejs

2 https://cn.vuejs.org/v2/guide/installation.html 下载vue.js

3 npm i element-ui –S 安装element-ui

4 element-dev

5https://github.com/vuejs/vue-devtools 安装用于浏览器的vue-devtools

6 npm install vue-router 安装vue-router插件

7npm install --save vue

8npm install webpack-cli –g

9 npm install --save-dev webpack

10npm install --save-dev babel-plugin-syntax-dynamic-import 懒加载