perf:基础架构升级
This commit is contained in:
12
src/main.ts
12
src/main.ts
@@ -1,11 +1,3 @@
|
||||
/*
|
||||
* @Description: {{ByRuin}}
|
||||
* @Version: 2.0
|
||||
* @Author: Ruin 🍭
|
||||
* @Date: 2022-01-25 16:22:24
|
||||
* @LastEditors: 刘引 liu.yin.work@foxmail.com
|
||||
* @LastEditTime: 2023-08-01 15:54:28
|
||||
*/
|
||||
import { createApp } from 'vue'
|
||||
import router from './router/index' //引入vue-router
|
||||
import App from './App.vue'
|
||||
@@ -20,8 +12,8 @@ import 'normalize.css/normalize.css'
|
||||
createApp(App)
|
||||
.use(router)
|
||||
.use(createPinia())
|
||||
.use(ElementPlus,{
|
||||
locale: zhCn,
|
||||
.use(ElementPlus, {
|
||||
locale: zhCn
|
||||
})
|
||||
.component('Foot', Foot)
|
||||
.component('Head', Head)
|
||||
|
||||
Reference in New Issue
Block a user