Skip to content

vue-cli vue2.x项目初始化,配置eslint,vue-router,vuex,axios等

Notifications You must be signed in to change notification settings

ruochuan12/vue-cnode

Repository files navigation

vue-cnode

vue-cnode

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 detailed explanation on how things work, checkout the guide and docs for vue-loader.

vue;vue-router;vue-resource;vuex;elementUI

TO DO

1、less报错问题,拼写错误。(common)commom,默认样式

样式引入有问题有么是路径不对 要么是样式里面少了标点符号什么的 还有一个有可能就是你使用了less变量但是没引入 cli构建的配置一般不会有问题 如果是自己配置的,有可能是版本问题 要敢折腾,还是要提高效率

2、中间件 3、还是用的vue-resource(axios),config和service服务调接口 4、elementUI,vuex

About

vue-cli vue2.x项目初始化,配置eslint,vue-router,vuex,axios等

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published