Starter · code-edit

slot

先看見缺口,再完成一個小修改。

Starter 要做什麼

先看見缺口,再完成一個小修改。

本主題檔案:files/index.html

定位:先確認子元件 template 真的有 slot outlet 與 fallback。

本階段驗收

頁面不會替你修改檔案;請在實作檔完成後重新整理確認。

目前要處理

mount 容器尚無 card。

預期看到

slotCount=1、fallbackCount=1、slotText=限時諮詢、fallbackText=尚無補充。

子層 <slot>尚無補充</slot>;父層 <service-card><strong>限時諮詢</strong></service-card>。

檔案清單

只在本階段資料夾內操作,避免改到其他章節。

證據:slotCount=1、fallbackCount=1、slotText/fallbackText 正確

前往 Checkpoint →