feat: Add Vue3 exercises and interview plan
- Introduced Vue3 exercises covering composable API, reactivity, lifecycle hooks, and built-in components. - Added structured interview plan for frontend candidates focusing on HTML, CSS, JavaScript, TypeScript, and Vue. - Included starter files for each exercise and detailed README documentation for guidance.
This commit is contained in:
22
08-vue3/05-props-and-emits/README.md
Normal file
22
08-vue3/05-props-and-emits/README.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# 练习 5:props 和 emit
|
||||
|
||||
## 目标
|
||||
|
||||
学会在 Vue3 里写基础组件通信。
|
||||
|
||||
## 你要练什么
|
||||
|
||||
- `props`
|
||||
- `emit`
|
||||
- 组件拆分
|
||||
|
||||
## 任务
|
||||
|
||||
- 把课程项拆成子组件
|
||||
- 父组件传入课程对象
|
||||
- 子组件点击按钮后通知父组件切换完成状态
|
||||
|
||||
## 文件
|
||||
|
||||
- [starter.html](/Users/lijiaqing/home/wwwroot/front-end-example/08-vue3/05-props-and-emits/starter.html)
|
||||
- [starter.js](/Users/lijiaqing/home/wwwroot/front-end-example/08-vue3/05-props-and-emits/starter.js)
|
||||
Reference in New Issue
Block a user