Skip to content

Auto Import is not supported<script setup> #3723

Open

Description

@Sumzibuyu
  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ
  • I have tried restarting VS Code or running Vetur: Restart VLS

Info

  • Platform:win
  • Vetur version:v0.37.3
  • VS Code version:1.93.1
  • TypeScript version:
  • Vetur output:

Several errors were encountered while automatically importing components

  1. Using <script setup> will also add components: { InputModule }

  2. If the script label is not written on the first line, an error will occur, as shown in the figure.

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions