vue-best-practices
4
总安装量
3
周安装量
#48937
全站排名
安装命令
npx skills add https://github.com/kunhai-88/skills --skill vue-best-practices
Agent 安装分布
windsurf
1
opencode
1
cursor
1
weavefox
1
kiro-cli
1
codex
1
Skill 文档
Vue æä½³å®è·µ
Vue 3 ä¸ Vue.js å¨ TypeScriptãvue-tscãVolar ä¸çæä½³å®è·µï¼ç¨äºç¼åãå®¡æ¥æéæ Vue ç»ä»¶æ¶ä¿è¯æ£ç¡®çç±»åä¸å·¥å ·é¾ç¨æ³ã
è½åè§å
| è§å | å ³é®è¯ | 说æ |
|---|---|---|
| extract-component-props | get props typeãwrapper componentãextend propsãinherit propsãComponentProps | ä» .vue ç»ä»¶æåç±»å |
| vue-tsc-strict-templates | undefined componentãtemplate errorãstrictTemplates | 卿¨¡æ¿ä¸æè·æªå®ä¹ç»ä»¶ |
| fallthrough-attributes | fallthroughã$attrsãwrapper component | éä¼ å±æ§çç±»åæ£æ¥ |
| strict-css-modules | css modulesã$styleãtypo | æè· CSS 模åç±»åæ¼åé误 |
| data-attributes-config | data-*ãstrictTemplatesãattribute | å 许 data-* 屿§ |
| volar-3-breaking-changes | volarãvue-language-serverãeditor | ä¿®å¤ Volar 3.0 å级é®é¢ |
| module-resolution-bundler | cannot find moduleã@vue/tsconfigãmoduleResolution | ä¿®å¤æ¨¡åè§£æé误 |
| define-model-update-event | defineModelãupdate eventãundefined | ä¿®å¤ model æ´æ°é误 |
| with-defaults-union-types | withDefaultsãunion typeãdefault | ä¿®å¤èåç±»åé»è®¤å¼ |
| deep-watch-numeric | watchãdeepãarrayãVue 3.5 | 髿æ°ç»çå¬ |
| vue-directive-comments | @vue-ignoreã@vue-skipãtemplate | æ§å¶æ¨¡æ¿ç±»åæ£æ¥ |
| vue-router-typed-params | route paramsãtyped routerãunplugin | ä¿®å¤è·¯ç±åæ°ç±»å |
æçè§å
| è§å | å ³é®è¯ | 说æ |
|---|---|---|
| hmr-vue-ssr | hmrãssrãhot reload | ä¿®å¤ SSR åºç¨ä¸ç HMR |
| pinia-store-mocking | piniaãmockãvitestãstore | 模æ Pinia store |