How to make it use Vue options API for auto import?
I have following example component:
I use auto import to import another component, then pless tab:
So the problem is that it generates `<script>` tag for Vue's composition API and with typescript but my project is using default Javascript and options API, so I need it to generate something like this instead:
How I can achieve this?
1 条评论
排序方式
日期
投票数
Unfortunately it's not possible at the moment. I've created https://youtrack.jetbrains.com/issue/WEB-63827/Vue-use-the-imported-component-API-options-composition-when-creating-script-block-on-auto-import, please vote for it to get notified when it's fixed
请先登录再写评论。