vue2和vue3常见面试题
时间: 2023-08-28 13:21:10 浏览: 191
Vue 2和Vue 3在面试中常见的一些问题包括但不限于以下几个方面:
1. Vue组件间通信方式有哪些?Vue组件间通信主要可以分为父子组件通信、隔代组件通信和兄弟组件通信。具体的通信方式包括props和$emit、$children和$parent、provide和inject、event bus、Vuex等。这些通信方式分别适用于不同类型的组件间通信需求。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [vue2 vue3高频面试题](https://blog.csdn.net/pidanl/article/details/128780434)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [vue2/3面试题](https://blog.csdn.net/weixin_57547803/article/details/129619964)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文