복습을 위한 강의 키워드
methods
- data()
mounted()
- props
-- components
v-if
v-for
$emit
$event
@input
@input="month = $event.target.value"
두개는 같음 v-model="month"
watch - 인풋 벨리데이터
lifecycle hook
emitter
vuex
호출 $store.state.키값
변경해줘 @click="$store.commit('changeName')"
- mapState
mitt
setup(){
onMounted(()=>{
});
}
ref([]);
'Dev > Vue3' 카테고리의 다른 글
[Vue] Vue3에서 Scss 사용하기 (0) | 2023.10.12 |
---|---|
[Vue] vue.config.js 에서 build publicPath 변경 (0) | 2023.10.06 |