본문 바로가기

코딩하는 둥둥

검색하기
코딩하는 둥둥
프로필사진 둥둥

  • 분류 전체보기 (66)
    • Frontend (41)
      • Vue (14)
      • JavaScript (20)
      • CSS (7)
    • APP (0)
      • Swift (0)
    • Computer Science (17)
      • Network (7)
      • Rendering (4)
      • Ect (6)
    • IDE (7)
      • Intellij (1)
      • VSCode (3)
      • Eclipse (3)
    • LOG (1)
Guestbook
250x250
Notice
Recent Posts
Recent Comments
Link
«   2026/04   »
일 월 화 수 목 금 토
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
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록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
이전 Prev 1 Next 다음

Blog is powered by AXZ / Designed by Tistory

티스토리툴바