Supporting <script setup>
See original GitHub issue- I have searched through existing issues
Feature Request
Earlier this year Evan introduced a new RFC to improve upon the script section to support <script setup>
. This RFC is already included as part of the vue@next
, and vue-loader
was recently updated to support it, so it’s my hope that vetur
will update to support this as well, since without it intellisense doesn’t work correctly. The error I got was
File '/path/to/component/HelloWorld.vue' is not a module. Vetur(2306)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:93
- Comments:39 (6 by maintainers)
Top Results From Across the Web
<script setup> | Vue.js
<script setup> is a compile-time syntactic sugar for using Composition API inside Single-File Components (SFCs). It is the recommended syntax if you are ......
Read more >Understanding the new script setup with (defineProps ... - Netlify
The script setup feature ships with the defineProps and defineEmits APIs that make it possible for us to declare props and emits. They...
Read more >Vue 3: Support new <script setup> without ref sugar - YouTrack
The support for script setup will be released next week with WebStorm 2021.2.1. I am sorry for the delay, but please mind, that...
Read more >The 101 guide to Script Setup in Vue 3 - VueDose
Don't you know about Script Setup yet? Check out this short article now and learn the nicest way to define a Vue component...
Read more >Introduction to the Script Setup Syntax - Vue Mastery
Version 3 of Vue promotes the Script Setup syntax, which was previously an experimental feature, and is now an officially supported one.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yo. Any news on this one ?
We plan to support it in next next version. (v0.37.0) But there is no schedule, it is a big work.