Vue + Bootstrap4 components
For detail, view doc
npm i x-vue
import vue from 'vue'
import XVue from 'x-vue'
vue.use(XVue)
// don't forget to require the css
require('x-vue/dist/x-vue.min.css')
clone the project
npm install
npm start
在example根目录下加入某个组件为名字的.doc文件,如button.doc,然后创建一个button文件夹,
在该文件夹中随意创建多个demo,以.vue为后缀,然后在router.js中引用这个.doc文件