Closed nathanieltalbot closed 2 years ago
https://github.com/vitejs/vite/issues/2163#issuecomment-783456542
All future Vue APIs / ecosystem tooling will all assume explicit extensions for
.vue
imports.
Explicit .vue
extension is easier to deal with in ecosystem toolings, such as TypeScript type hints and file resolution in bundlers.
Is there a reason that
.vue
isn't set to never error in theimport/extensions
configuration? This means that we need to import all Vue components as*.vue
but all others (js, etc) without an extension