vue3main引入
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import vant from 'vant';
import 'vant/lib/index.css';
//引⼊vant样式组件//vant挂载到app这个实例上
const app=createApp(App)
app.use(vant)
app.use(store).use(router).mount('#app')
本文来自博客园,作者:zjxgdq,转载请注明原文链接:https://www.cnblogs.com/zjxzhj/p/14905999.html