main.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. var __awaiter =
  2. (this && this.__awaiter) ||
  3. function(thisArg, _arguments, P, generator) {
  4. function adopt(value) {
  5. return value instanceof P
  6. ? value
  7. : new P(function(resolve) {
  8. resolve(value)
  9. })
  10. }
  11. return new (P || (P = Promise))(function(resolve, reject) {
  12. function fulfilled(value) {
  13. try {
  14. step(generator.next(value))
  15. } catch (e) {
  16. reject(e)
  17. }
  18. }
  19. function rejected(value) {
  20. try {
  21. step(generator['throw'](value))
  22. } catch (e) {
  23. reject(e)
  24. }
  25. }
  26. function step(result) {
  27. result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected)
  28. }
  29. step((generator = generator.apply(thisArg, _arguments || [])).next())
  30. })
  31. }
  32. import Vue from 'vue'
  33. import App from './App.vue'
  34. import router from './router'
  35. import store from './store'
  36. Vue.config.productionTip = false
  37. import design from 'ant-design-vue'
  38. import 'ant-design-vue/dist/antd.css'
  39. Vue.use(design)
  40. import ElementUI from 'element-ui'
  41. import 'element-ui/lib/theme-chalk/index.css'
  42. Vue.use(ElementUI)
  43. import VueQuillEditor from 'vue-quill-editor'
  44. import 'quill/dist/quill.core.css'
  45. import 'quill/dist/quill.snow.css'
  46. import 'quill/dist/quill.bubble.css'
  47. Vue.use(VueQuillEditor)
  48. import WdEditor from '@/components/Editor'
  49. Vue.use(WdEditor)
  50. import Rotation from '@/components/Rotation'
  51. Vue.use(Rotation)
  52. import PicLarge from '@/components/PicLarge'
  53. Vue.use(PicLarge)
  54. import Legend from '@/components/Legend'
  55. Vue.use(Legend)
  56. import cookies from 'vue-cookie'
  57. Vue.use(cookies)
  58. import Pui from 'meri-design'
  59. import 'meri-design/dist/index.css'
  60. Vue.use(Pui)
  61. new Vue({
  62. router,
  63. store,
  64. render: (h) => h(App),
  65. }).$mount('#app')