Nuxt/examples/with-vux/plugins/vux-plugins.js

13 lines
351 B
JavaScript
Raw Normal View History

2018-03-09 10:01:06 +00:00
import Vue from 'vue'
import { BusPlugin, TransferDom, WechatPlugin, DatetimePlugin, LoadingPlugin, ToastPlugin, AlertPlugin, ConfirmPlugin } from 'vux'
Vue.use(DatetimePlugin)
Vue.use(LoadingPlugin)
Vue.use(ToastPlugin)
Vue.use(AlertPlugin)
Vue.use(ConfirmPlugin)
Vue.use(WechatPlugin)
Vue.use(BusPlugin)
Vue.directive('transfer-dom', TransferDom)