main.ts 582 B

12345678910111213141516171819
  1. import { createApp } from 'vue'
  2. import pinia from '/@/stores/index'
  3. import App from '/@/App.vue'
  4. import router from '/@/router'
  5. import { directive } from '/@/directive/index'
  6. import { i18n } from '/@/i18n/index'
  7. import other from '/@/utils/other'
  8. import ElementPlus from 'element-plus'
  9. import '/@/theme/index.scss'
  10. import VueGridLayout from 'vue-grid-layout'
  11. import globalProperties from '/@/globalProperties'
  12. const app = createApp(App)
  13. directive(app)
  14. other.elSvg(app)
  15. app.use(pinia).use(router).use(ElementPlus).use(i18n).use(VueGridLayout).use(globalProperties).mount('#app')