/my_blog_web

我的博客前端

Primary LanguageJavaScript

my_blog_web

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

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

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

安装 scss

npm install node-sass --save-dev npm install sass-loader --save-dev

去eslint

config/index.js useEslint: false, idea: file->setting,搜索eslint,将Enable选项勾选掉

引入iview

npm install iview --save https://www.iviewui.com/docs/guide/install

引入axios

npm install axios

引入vuex

npm install vuex --save