app.js:116
Uncaught TypeError: Cannot read properties of undefined (reading 'config')
at eval (main.js?fbea:12:1)
at ./src/main.js (app.js:39:1)
at __webpack_require__ (app.js:113:33)
at app.js:1294:109
at __webpack_require__.O (app.js:159:23)
at app.js:1295:53
at app.js:1297:12
是因为vue3中没有全局变量vue
而我的main.js中使这样引用的
改成vue3的语法,import { createApp } from 'vue'
即可解决