Uncaught TypeError: Cannot read property 'use' of undefined

来源:11-3 首页代码迁移及代理配置变更

慕慕4402846

2020-09-06

Uncaught TypeError: Cannot read property 'use' of undefined

写回答

1回答

Dell

2020-09-06

import VueRouter from 'vue-router'

0
2
Dell
回复
慕慕4402846
import { createApp } from 'vue' import App from './App.vue' import router from './router' import store from './store' import 'normalize.css' import './style/index.scss' createApp(App).use(router).use(store).mount('#app') 参考这个语法呢?
2020-09-12
共2条回复

Vue2.5-2.6-3.0开发去哪儿网App 零基础入门到实战

课程紧跟Vue3版本迭代,企业主流版本Vue2+Vue3全掌握

10675 学习 · 8191 问题

查看课程