일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- vuetify
- bootstrap
- PDO
- A-Frame
- Component
- Three.js
- Node
- 상태관리
- vue-template-compiler
- auth0
- JavaScript
- WebVR
- PHP
- npx
- EM6
- aframe
- CI/CD
- promise
- array
- 3d
- vue
- VR
- version mismatch
- javscript
- vuex
- JS
- web
- AR
- package-lock.json
- WebXR
Archives
- Today
- Total
목록Slot (1)
대가는 결과를 만든다
[Vue] slot
Vue에는 slot이라는 개념이 있는데 무엇? Parent Component에서 Child Component의 Element Tag사이에 삽입하여 Child Component의 원하는 Element로 fallback해주고자 할때 사용하는 개념이다. 1. Basic Component를 다음과 같이 정의: Submit 그러면 이라는 Component를 사용할 때, Submit 다음과 같이 렌더링이 될 것이다. 하지만 전송 과같이 Component를 사용하면 전송 으로 렌더링이 된다. 앞서 말한 것처럼 Tag사이에 넣은 값을 Child Component의 Slot으로 fallback되는 것이다. 2. Named Slot *name을 정하지 않은 의 name은 "default" 이라는 Component를 다음과..
개발/Vue
2019. 4. 11. 11:31