250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
Tags
- Vue
- archiver
- slidePerView
- slideChange
- classlist
- CORS
- slidePerGroup
- vscode
- javascirpt
- centerSlides
- vue2
- swiper
- JavaScript
- 인덱스
- display
- css
- swiperOption
- v-bind
- eslint
- prettier
- jquery
- error
- realIndex
- watchOverflow
- eslint prettier
- js
- index
- activeIndex
- querySelector
- loop:true
Archives
- Today
- Total
목록vue2 (1)
코딩하는 둥둥
[ ERROR] Uncaught TypeError: Cannot read properties of undefined (reading 'install')
[vue-router] Router must be called with the new operator. Uncaught TypeError: Cannot read properties of undefined (reading 'install') vue create 프로젝트명으로 개발 환경 구현중 발생한 오류이다. 결론적으로 말하면 vue2를 사용할 경우에는 vue-router3버전을 사용해야 한다. vue2로 프로젝트를 만든 후에 npm install vue-router을 사용해 vue-router을 설치했는데, 이 과정에서 자동적으로 vue-router4버전대가 설치되었다. References. https://velog.io/@k_jihye92/Vuevue-router-cannot-read-propertie..
Frontend/Vue
2023. 1. 15. 19:54