Extract vue component using Composition API
Hi everyone!
I fairly regularly use the ‘Extract Vue Component’ feature and I was wondering if there is a config option to tell WebStorm to use the Composition API template.
Right it defaults to the Options API when extracting a Vue component.
Thanks!
请先登录再写评论。
Unfortunately this template is hardcoded and can't be customized.
Please vote for https://youtrack.jetbrains.com/issue/WEB-58888/Vue-TypeScript-The-Extract-Vue-Component-refactoring-should-respect-the-source-component-format to raise its priority and get notified when it's fixed.
I feel they should make the template used for the ‘Extract Vue Component’ feature fully editable. If not that, at least allow to choose for Typescript and Composition API.
Thank you.