Skip to content

Supporting <script setup> #2296

Closed
Closed
@boonyasukd

Description

@boonyasukd
  • 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)

Screen Shot 2020-09-21 at 00 22 58

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Uninen@tarkhil@soerenmartius@zigomir@max13fr

        Issue actions

          Supporting <script setup> · Issue #2296 · vuejs/vetur