Skip to content
Discussion options

You must be logged in to vote

You can still resolve extensions in Vite including in your vite.config.js:

  resolve: {
    extensions: [ '.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue' ]
  }

But the Vue ecosystem is moving away from auto-resolving .vue extensions, so you are encouraged to migrate at this point so your code will better work with other tools in the future.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ygj6
Comment options

@patak-dev
Comment options

@ygj6
Comment options

@ygj6
Comment options

Answer selected by patak-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants