We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I've been trying to store image url in variable, doesn't seem to work.
Image-config.scss:
@value photo "http://www.someplace.com/image.jpg"
Image.scss:
@value vals "./Image-config.scss"; @value photo from vals; .root{ background-image: url(photo) }
I got Error: Can't resolve 'i__const_photo_3'
Error: Can't resolve 'i__const_photo_3'
Tried also putting it as:
@value photo url("http://www.someplace.com/image.jpg")
and
.root{ background-image: photo }
got Error: Invalid mapping: {"generated":{"line":1,"column":90},"source":"Image-config.scss","original":{},"name":null}
Error: Invalid mapping: {"generated":{"line":1,"column":90},"source":"Image-config.scss","original":{},"name":null}
The text was updated successfully, but these errors were encountered:
Hi, @juliami ! I guess you skipped : in definition
:
@value photo: "http://www.someplace.com/image.jpg";
Sorry, something went wrong.
Hm.. sorry. It should be correct
No branches or pull requests
Hello, I've been trying to store image url in variable, doesn't seem to work.
Image-config.scss:
Image.scss:
I got
Error: Can't resolve 'i__const_photo_3'
Tried also putting it as:
and
got
Error: Invalid mapping: {"generated":{"line":1,"column":90},"source":"Image-config.scss","original":{},"name":null}
The text was updated successfully, but these errors were encountered: