vue-best-practices

安装量: 11.3K
排名: #186

安装

npx skills add https://github.com/hyf0/vue-skills --skill vue-best-practices

Vue Best Practices Workflow Use this skill as an instruction set. Follow the workflow in order unless the user explicitly asks for a different order. Core Principles Keep state predictable: one source of truth, derive everything else. Make data flow explicit: Props down, Events up for most cases. Favor small, focused components: easier to test, reuse, and maintain. Avoid unnecessary re-renders: use computed properties and watchers wisely. Readability counts: write clear, self-documenting code. 1) Confirm architecture before coding (required) Default stack: Vue 3 + Composition API +