Create Adaptable Composable

作者 vuejs-aic9d355ff23f6MIT2.8K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库4个月前更新

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 从公开仓库中收录这些内容。

举报或申请下架