index.js 540 B

123456789101112131415161718192021222324252627282930
  1. import Vue from 'vue'
  2. import iView from 'iview'
  3. import 'iview/dist/styles/iview.css'
  4. import VueReverse from '../src'
  5. // import VueReverse from '../dist/reverse'
  6. // import '../dist/reverse.css'
  7. import allActions from './actions'
  8. import store from './store'
  9. import router from './router'
  10. import './plugins'
  11. import '@/assets/styles/main.scss'
  12. import Viewer from 'v-viewer'
  13. import App from './App'
  14. Vue.use(iView)
  15. Vue.use(Viewer)
  16. Vue.use(VueReverse, { allActions })
  17. new Vue({
  18. router,
  19. store,
  20. render: h => h(App),
  21. }).$mount('#root')