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
- drective
- setup 함수
- dex모드
- vitre
- computed
- synchronus
- const
- await
- 오블완
- async
- html 엔티티
- 티스토리챌린지
- hoisting
- 템플릿 문법
- composition API
- mobile dev tools
- 앱 빌드
- promise
- es6
- ref
- vue
- composition api
- tdz
- let
- asynchronus
- watchEffect
- Component
- eruda
- reactivity
- watch
Archives
- Today
- Total
목록Props (1)
uxtry
vue: Props
Props는 부모 컴포넌트에서 자식 컴포넌트로 데이터를 전달하기 위해 사용하는 방법입니다. Props는 컴포넌트 간의 데이터 전달을 가능하게 하며, 이를 통해 컴포넌트 간의 재사용성과 독립성을 높일 수 있습니다. 아래 예제를 통해 Props의 기본개념과 활용법을 자세히 설명하겠습니다. 간단한 Props 전달 ParentComponent.vue 부모 컴포넌트 ChildComponent.vue 자식 컴포넌트 {{title}}★ Vue SFC Playground 코드 실행 →ParentComponent에서 childComponent로 title이라는 데이터를 전달합니다.ChildComponent는 전달 받은 title 값을 표시합니다. Props의 주요기능과 활용법 1. 데이터 유형 검..
Vue.js 3 주요 문법 (vue:)
2024. 12. 19. 09:47