main.js 518 B

1234567891011121314151617181920212223
  1. // The Vue build version to load with the `import` command
  2. // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
  3. import Vue from 'vue'
  4. import App from './App'
  5. import router from './router'
  6. import VueScroller from 'vue-scroller'
  7. import store from './store'
  8. import { ToastPlugin } from 'vux';
  9. Vue.use(ToastPlugin);
  10. Vue.use(VueScroller);
  11. Vue.config.productionTip = false
  12. /* eslint-disable no-new */
  13. new Vue({
  14. el: '#app',
  15. router,
  16. store,
  17. template: '<App/>',
  18. components: { App }
  19. })