This commit is contained in:
zxr
2026-06-24 15:12:18 +08:00
parent d104dd8df9
commit 18531bfcac
5 changed files with 103 additions and 2 deletions

View File

@@ -5,7 +5,6 @@ import { createApp } from 'vue'
import App from './App.vue'
import directive from './directive'
import i18n from './locale'
import './mock'
import router from './router'
import store from './store'
// Styles are imported via arco-plugin. See config/plugin/arcoStyleImport.ts in the directory for details
@@ -14,6 +13,10 @@ import store from './store'
import '@/api/interceptor'
import '@/assets/style/global.less'
if (import.meta.env.VITE_USE_MOCK === 'true') {
import('./mock')
}
const app = createApp(App)
app.use(ArcoVue, {})