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.

  1. c9d355ff23f6目前提交 c9d355f發布於 2026年10月8日

來源與署名

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

授權條款: MIT

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

檢舉或申請下架