Files
front-end-example/08-vue3/12-built-in-components
charlie d0d8be443b 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.
2026-03-24 23:02:58 +08:00
..

练习 12Teleport、Suspense 和 Transition

目标

认识 Vue3 常见内置组件在实际页面里的使用方式。

你要练什么

  • Teleport
  • Suspense
  • Transition

任务

  • Teleport 把弹层渲染到 body
  • Transition 给弹层或提示做显隐动画
  • Suspense 包裹一个异步组件,并显示 fallback

文件