Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHORE: Move all vue imports to use the extension + update vue cli to require the .vue extension in the import #2195

Open
rathboma opened this issue May 10, 2024 · 1 comment

Comments

@rathboma
Copy link
Collaborator

For migrating to Vite / esbuild we need to move away from importing vue files without the .vue extension, because it is not supported.

Tasks:

  1. Change vue cli to fail if .vue extension is not provided
  2. Update all imports to use the .vue extension.

For example:

GOOD: import Component from './Component.vue'
BAD: import Component from './Component'

@rathboma
Copy link
Collaborator Author

@ellipsis-dev Can you do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant