본문 바로가기

코딩하는 둥둥

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

  • 분류 전체보기 (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
  • eslint
  • slidePerView
  • v-bind
  • watchOverflow
  • 인덱스
  • slideChange
  • js
  • css
  • jquery
  • archiver
  • realIndex
  • centerSlides
  • swiperOption
  • swiper
  • eslint prettier
  • JavaScript
  • activeIndex
  • classlist
  • index
  • error
  • CORS
  • loop:true
  • display
  • slidePerGroup
  • vscode
  • vue2
  • querySelector
  • Vue
  • javascirpt
  • prettier
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록v-bind (1)

코딩하는 둥둥

[Vue warn]: Invalid prop: type check failed for prop "width". Expected Number with value 100, got String with value "100".

type: Number을 지정하고 문자열 값을 넘기면 발생하는 오류 type 지정시 부모 컴포넌트는 정적인 값일때도 v-bind를 해줘야 한다. 나의 경우 v-bind(:)가 빠져서 발생한 오류였다. References. https://negabaro.github.io/archive/vuejs-props

Frontend/Vue 2023. 1. 15. 19:54
이전 Prev 1 Next 다음

Blog is powered by AXZ / Designed by Tistory

티스토리툴바