-
Notifications
You must be signed in to change notification settings - Fork 32
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
Relative paths for srcset not working #35
Comments
Hi Markus! îles does not alter how Since it works for Please visit the Vue Land Discord to ask about this kind of usage, or open an issue in Vue 😃 In the meantime, you can manually import the image sources and bind them: import someImageSrc from '@/assets/images/some_image.png'
|
@HerrBertling About your question about global CSS, the best approach is to import it in See the following examples: |
@HerrBertling This is the relevant code regarding srcset transforms in Vue. Looks like there are several PRs open in Vue to patch this or similar problems: |
Wow. Thanks for the answers ❤️ |
iles
andvite
.Description 📖
Hey 👋 When using a
picture
element, it seems as if thesrc
for theimg
is resolved correctly, but thesrcset
attribute for differentsource
tags is not resolved when using~
or@
.Reproduction 🐞
This will result in this code, at least in dev mode (haven't checked the
build
but my guess is that it's incorrect there as well):Dependencies Info
The text was updated successfully, but these errors were encountered: