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
If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.
Describe the bug
Following line
importsvgfrom'@images/logo.svg?raw';
No longer works after upgrading to beta.51
> html:/Users/Carter/leopard/src/views/component/inline-svg/c-inline-svg.vue: error: Could not read from file: /Users/Carter/leopard/src/assets/images/logo.svg?raw
2 │ import svg from '@images/logo.svg?raw';
@images is an alias of @/assets/images
Reproduction
importsvgfrom'@images/logo.svg?raw';
System Info
vite version: beta.51
Operating System: macOS
Node version: v15.7.0
Package manager (npm/yarn/pnpm) and version: yarn version v1.22.10
Logs (Optional if provided reproduction)
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
Following line
No longer works after upgrading to
beta.51
@images
is an alias of@/assets/images
Reproduction
System Info
vite
version: beta.51Logs (Optional if provided reproduction)
N/A
The text was updated successfully, but these errors were encountered: