본문 바로가기
Vue

Cannot read properties of undefined (reading '__vccOpts')

by Coarti 2024. 6. 18.
Cannot read properties of undefined (reading '__vccOpts')
TypeError: Cannot read properties of undefined (reading '__vccOpts')
    at exports.default (webpack-internal:///./node_modules/vue-loader/dist/exportHelper.js:9:22)
    at eval (webpack-internal:///./src/App.vue:13:123)
    at ./src/App.vue (http://localhost:8080/js/app.js:121:1)
    at __webpack_require__ (http://localhost:8080/js/app.js:262:32)
    at fn (http://localhost:8080/js/app.js:513:21)
    at eval (webpack-internal:///./src/main.js:3:66)
    at ./src/main.js (http://localhost:8080/js/app.js:77:1)
    at __webpack_require__ (http://localhost:8080/js/app.js:262:32)
    at http://localhost:8080/js/app.js:1437:109
    at __webpack_require__.O (http://localhost:8080/js/app.js:304:23)

3번째 줄 exports.default 

 

 

App.vue에 export default {} 이게 없어서 그렇다

728x90

'Vue' 카테고리의 다른 글

vue3 + spring legacy + axios 설정(install 생략)  (0) 2024.06.18
vue-persistedstate  (0) 2024.06.18
vue 실행  (1) 2024.06.18
vue 특징  (0) 2024.06.18
vue 기본 문법  (0) 2024.06.17