智莺站长PC端官网代码, vite-vue
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.
 
 
 

19 line
393 B

  1. import { createApp } from 'vue'
  2. import App from './App.vue'
  3. import route from '../src/route/index'
  4. import store from './store' // 引入 vuex
  5. import ElementPlus from 'element-plus';
  6. import '/@modules/element-plus/lib/theme-chalk/index.css';
  7. const app = createApp(App)
  8. app.use(ElementPlus, { size: 'small', zIndex: 3000 });
  9. app.use(store) // 使用 vuex
  10. app.use(route)
  11. app.mount('#app')