-
-
Notifications
You must be signed in to change notification settings - Fork 173
tilde alias not working in img.src
#15
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
Comments
vue/compiler-sfc seems to remove the first I'm not sure why this is done. |
https://vue-loader.vuejs.org/guide/asset-url.html#transform-rules |
We need to document it in the Vite plugin too. |
It looks like both I try configure other symbol like So, best practices its keep |
But @antfu 's vite template vitesse does set '~' alias |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
use
npm init vue
and them chage thealias
from@
to~
,then get this error!use
@
its all working!Reproduction
1、use
npm init vue
2、chage the
alias
from@
to~
,then get this error!System Info
Used Package Manager
pnpm
Logs
Click to expand!
Validations
The text was updated successfully, but these errors were encountered: