| | |
| | | import 'amfe-flexible'; |
| | | import { createApp } from 'vue' |
| | | import ElementPlus from 'element-plus' |
| | | import 'element-plus/dist/index.css' |
| | | import router from './router'; |
| | | import 'element-plus/dist/index.css' |
| | | import Vant from 'vant' |
| | | import 'vant/lib/index.css' |
| | | import './style.css' |
| | | import router from './router'; |
| | | import App from './App.vue' |
| | | import VConsole from 'vconsole' |
| | | import { createPinia } from 'pinia' |
| | | import '@/assets/css/iconfont.css' |
| | | if (import.meta.env.VITE_ENV === 'development') { |
| | | // 如果需要在手机平板上打开控制台,安装一个这个 |
| | | const vConsole = new VConsole() |
| | | } |
| | | const pinia = createPinia() |
| | | |
| | | createApp(App).use(router).use(ElementPlus).mount('#app') |
| | | const app = createApp(App) |
| | | |
| | | app.use(router).use(pinia).use(ElementPlus).use(Vant).mount('#app') |