문제

I am using xcassets to store my images, but I am having some issues to get images using pixate. If the image is outside xcassets I can use something like background-image: url(image.png); without any issue but this doesn't work with xcassets.

Any ideas?

Best Regards

도움이 되었습니까?

해결책

Freestyle is adding a new asset:// scheme in 2.1.2 which will allow for urls like this:

background-image: url(asset://image).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top