main.js 911 B

1234567891011121314151617181920212223242526272829303132333435
  1. import Vue from 'vue'
  2. import App from './App.vue'
  3. import store from '@/store'
  4. // import i18n from '@/util/lang/lang'
  5. import Invite from '@/components/popup/invite'
  6. import Avatar from '@/components/popup/avatar'
  7. import Info from '@/components/popup/userInfo'
  8. import otherInfo from '@/components/popup/otherInfo'
  9. import imgPreview from '@/components/popup/imgPreview'
  10. import packetGet from '@/components/popup/packetGet'
  11. import Toast from '@/components/popup/toast'
  12. import VueClipboard from 'vue-clipboard2'
  13. import directive from '@/plugins/directive'
  14. import Vuebar from 'vuebar'
  15. Vue.use(Vuebar)
  16. Vue.use(Invite, store)
  17. Vue.use(Avatar, store)
  18. Vue.use(Info, store)
  19. Vue.use(otherInfo, store)
  20. Vue.use(packetGet, store)
  21. Vue.use(Toast)
  22. Vue.use(VueClipboard)
  23. Vue.use(directive)
  24. Vue.use(Vuebar)
  25. Vue.use(imgPreview)
  26. Vue.config.productionTip = false
  27. new Vue({
  28. render: h => h(App),
  29. store
  30. // i18n
  31. }).$mount('#app')