main.js 496 B

123456789101112131415161718192021222324
  1. import { createApp } from 'vue'
  2. import Antd from 'ant-design-vue'
  3. import { createPinia } from 'pinia'
  4. import './style/index.less'
  5. import snowy from './snowy'
  6. import i18n from './locales'
  7. import router from './router'
  8. import App from './App.vue'
  9. import './tailwind.css'
  10. import VXETable from 'vxe-table'
  11. import 'vxe-table/lib/style.css'
  12. const app = createApp(App)
  13. app.use(createPinia())
  14. app.use(router)
  15. app.use(Antd)
  16. app.use(i18n)
  17. app.use(snowy)
  18. app.use(VXETable)
  19. // 挂载app
  20. app.mount('#app')