A Vue.js Spa
# install dependencies
npm run init
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# 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.
##About this project
vue-cli,
vue 2.1.0
vue-router,
vue-resource ( axios 考虑ing);
vuex
然后针对 css 兼容 做了 postcss 兼容处理
1、First of all need to add runvue to development depend on
"runvue": "^1.0.x"
2、In the place where you need to use the introduction
import RunVue from 'runvue'
import 'runvue/style.css'
Vue.use(RunVue)
3、 tpl or html
<uiButton type="success"> test </uiButton>