|
@@ -1,7 +1,9 @@
|
|
import { createApp } from 'vue'
|
|
import { createApp } from 'vue'
|
|
|
|
+import 'element-plus/dist/index.css'
|
|
|
|
+import ElementPlus from 'element-plus'
|
|
|
|
+import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
|
// 引入gin-vue-admin前端初始化相关内容
|
|
// 引入gin-vue-admin前端初始化相关内容
|
|
import './core/gin-vue-admin'
|
|
import './core/gin-vue-admin'
|
|
-
|
|
|
|
// 引入封装的router
|
|
// 引入封装的router
|
|
import router from '@/router/index'
|
|
import router from '@/router/index'
|
|
import { run } from '@/core/gin-vue-admin.js'
|
|
import { run } from '@/core/gin-vue-admin.js'
|
|
@@ -9,9 +11,7 @@ import '@/permission'
|
|
import { store } from '@/store/index'
|
|
import { store } from '@/store/index'
|
|
|
|
|
|
import { auth } from '@/directive/auth'
|
|
import { auth } from '@/directive/auth'
|
|
-import ElementPlus from 'element-plus'
|
|
|
|
-import 'element-plus/dist/index.css'
|
|
|
|
-import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
|
|
|
|
|
+
|
|
import App from './App.vue'
|
|
import App from './App.vue'
|
|
const app = createApp(App)
|
|
const app = createApp(App)
|
|
run(app)
|
|
run(app)
|