feat:重构模块
This commit is contained in:
10
src/main.ts
10
src/main.ts
@@ -16,10 +16,6 @@ import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
||||
import VCalendar from 'v-calendar'
|
||||
import 'v-calendar/style.css'
|
||||
|
||||
// 引入粒子特效
|
||||
// import Particles from '@tsparticles/vue3'
|
||||
// import { loadSlim } from '@tsparticles/slim'
|
||||
|
||||
// 引入font-awesome
|
||||
import 'font-awesome/css/font-awesome.min.css'
|
||||
import '@fortawesome/fontawesome-free/css/all.css'
|
||||
@@ -37,12 +33,6 @@ app.use(router)
|
||||
app.use(createPinia())
|
||||
// 使用Element UI Plus
|
||||
app.use(ElementPlus, { locale: zhCn })
|
||||
// app.use(Particles, {
|
||||
// init: async (engine: any) => {
|
||||
// // 加载精简版
|
||||
// await loadSlim(engine)
|
||||
// }
|
||||
// })
|
||||
app.use(VCalendar, {})
|
||||
// 挂载到根组件上
|
||||
app.mount('#app')
|
||||
|
||||
Reference in New Issue
Block a user