vue-jsx-最佳实践 是做什麼的?
Vue 中的 JSX 语法(例如:class 与 className、JSX 插件配置)。
Vue 中的 JSX 语法(例如:class 与 className、JSX 插件配置)。
此技能專注於 Vue 生態系統中的 JSX 最佳實踐。它為開發者提供關於在 Vue 專案中使用 JSX 語法的明確指引,尤其針對常見的混淆點,例如何時使用 `class` 屬性與 `className` 屬性,這兩者之間的選擇取決於所使用的特定 JSX 轉換設定。此技能涵蓋了正確配置 JSX 插件(例如 `@vitejs/plugin-vue-jsx`)的必要步驟,以確保無縫的開發體驗。它支援使用 Vite 或 webpack 等現代建置工具的 Vue 3 專案。透過遵循此技能提供的建議,開發者可以避免常見的陷阱,維護可讀性高的程式碼,並充分利用 JSX 在 Vue 中表達動態模板和元件的優勢。該技能本質上作為一個濃縮的參考指南,將 Vue 官方文件及社群最佳實務提煉成一個可直接採用的實用速查清單。
npx skills add https://github.com/vuejs-ai/skills/tree/main/skills/vue-jsx-best-practicesInstalled? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
Vue 中的 JSX 语法(例如:class 与 className、JSX 插件配置)。
This repo contains 5 individual skills — each has its own dedicated page.
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.
Vue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues. Use when diagnosing or fixing Vue issues.
A collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or Nuxt projects.
Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.
Pinia stores, state management patterns, store setup, and reactivity with stores.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.