Create Adaptable Composable

作者 vuejs-aic9d355ff23f6MIT收錄於 2026年10月8日更新於 2026年10月8日

Create a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value, ref, or getter. Normalize inputs with toValue()/toRef() inside reactive effects (watch/watchEffect) to keep behavior predictable and reactive. Use this skill when user asks for creating adaptable or reusable composables.

僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。

路徑大小類型
SKILL.md2.6 KBtext/markdown

來源與署名

來源:vuejs-ai/skills位於skills/create-adaptable-composable提交c9d355f

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架