main.ts 308 B

123456789101112
  1. import { createApp } from 'vue'
  2. import ElementPlus from 'element-plus'
  3. import 'element-plus/dist/index.css'
  4. import App from './App.vue'
  5. import router from './router'
  6. import { createPinia } from 'pinia'
  7. const app = createApp(App)
  8. app.use(createPinia())
  9. app.use(router)
  10. app.use(ElementPlus)
  11. app.mount('#app')