Reactive

Reactive skills and workflows surfaced by the site skill importer.

3 skills
A
vue

bởi antfu

vue skill dành cho việc tạo mã Vue 3 với Composition API, `<script setup lang="ts">`, macro, reactivity và các component dựng sẵn. Dùng skill này để tham khảo cách cài đặt và cải thiện cách dùng vue cho SFCs, `defineProps`, `defineEmits`, `defineModel`, watchers, `Transition`, `Teleport`, `Suspense` và `KeepAlive`.

Frontend Development
Yêu thích 0GitHub 4.4k
V
vue-pinia-best-practices

bởi vuejs-ai

vue-pinia-best-practices giúp các nhóm Vue 3 dùng Pinia an toàn hơn, với hướng dẫn rõ ràng về thời điểm cài đặt, cách dùng storeToRefs, giá trị trả về của setup store, và khi nào nên dùng URL thay vì store state.

Frontend Development
Yêu thích 0GitHub 2.1k
V
create-adaptable-composable

bởi vuejs-ai

create-adaptable-composable giúp lập trình viên Vue 3 và Nuxt 3 thiết kế composable có thể tái sử dụng, chấp nhận giá trị thường, refs, computed values và getters. Nội dung tập trung vào cách chọn MaybeRef hoặc MaybeRefOrGetter và chuẩn hóa bằng `toValue()` hoặc `toRef()` bên trong `watch()` hay `watchEffect()` để đảm bảo reactivity ổn định và dễ đoán.

Frontend Development
Yêu thích 0GitHub 2.1k