Vue3.0中main.js引⼊插件和配置全局属性引⼊插件
import{ createApp }from'vue'
import App from'./App.vue'
import router from'./router/index'
import store from'./store/index'
const app=createApp(App);
app.use(router)
app.use(store)
createApp(App).mount('#app')vuejs流程图插件
配置全局属性
import{ createApp }from'vue'
import App from'./App.vue'
import fnc from'./base/fnc.js'
const app=createApp(App);
app.use(router)
app.use(store)
createApp(App).mount('#app')
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论