main.js文件
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import vant from 'vant';
import 'vant/lib/index.css';
const app = createApp(App)
app.use(vant)
app.use(createPinia())
app.use(router)
app.mount('#app')