A8000
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
909 B

8 months ago
8 months ago
7 months ago
8 months ago
7 months ago
8 months ago
8 months ago
  1. import { createApp } from 'vue'
  2. import './style.css'
  3. import App from './App.vue'
  4. import router from './router/router'
  5. import ElementPlus from 'element-plus'
  6. import locale from 'element-plus/es/locale/lang/zh-cn'
  7. import 'element-plus/dist/index.css'
  8. import * as ElementPlusIconsVue from '@element-plus/icons-vue'
  9. // import './mock/index'
  10. import { createPinia } from 'pinia'
  11. import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
  12. import ElTableInfiniteScroll from "el-table-infinite-scroll";
  13. import Confirm from './components/Confirm.vue'
  14. const pinia = createPinia()
  15. pinia.use(piniaPluginPersistedstate)
  16. const app = createApp(App)
  17. for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  18. app.component(key, component)
  19. }
  20. app.component('Confirm', Confirm)
  21. app.use(router)
  22. app.use(pinia)
  23. app.use(ElementPlus, { locale, zIndex: 3000 })
  24. app.use(ElTableInfiniteScroll);
  25. app.mount('#app')