You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moving a webpack/vue2 app to vite/vue3. App uses typeface-inter via import 'typeface-inter' in the App.vue. When trying to do the same using vite get
[vite] Failed to resolve module import "typeface-inter/Inter%20(web)/Inter-Regular.woff2". (imported by /)
[vite] Failed to resolve module import "typeface-inter/Inter%20(web)/Inter-Bold.woff2". (imported by /)
[vite] Failed to resolve module import "typeface-inter/Inter%20(web)/Inter-Regular.woff". (imported by /)
[vite] Failed to resolve module import "typeface-inter/Inter%20(web)/Inter-Bold.woff". (imported by /)
Can confirm the files are there. Also can confirm using
Describe the bug
Moving a webpack/vue2 app to vite/vue3. App uses typeface-inter via
import 'typeface-inter'
in the App.vue. When trying to do the same using vite getCan confirm the files are there. Also can confirm using
works but obviously won't bundle with the app. Is it possibly the %20/space in the path?
Reproduction
System Info
vite
version:0.20.0vue
: 3.0.0-beta.15@vue/compiler-sfc
version: 3.0.0-beta.15The text was updated successfully, but these errors were encountered: