feat:增加vant组件库

This commit is contained in:
2026-02-12 17:27:14 +08:00
parent 1b8bd5a7e2
commit 8940b3972a
29 changed files with 241 additions and 269 deletions

View File

@@ -25,6 +25,9 @@ import 'animate.css'
// 注册svg-icon
import 'virtual:svg-icons-register'
import Vant from 'vant'
import 'vant/lib/index.css'
// 创建Vue3实例
const app = createApp(App)
// 使用路由
@@ -34,5 +37,6 @@ app.use(createPinia())
// 使用Element UI Plus
app.use(ElementPlus, { locale: zhCn })
app.use(VCalendar, {})
app.use(Vant)
// 挂载到根组件上
app.mount('#app')