Skip to content
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

Is it possible to load a Sprite of svgs? #26

Open
mascardoso opened this issue Oct 17, 2017 · 1 comment
Open

Is it possible to load a Sprite of svgs? #26

mascardoso opened this issue Oct 17, 2017 · 1 comment

Comments

@mascardoso
Copy link

Hi there.
Great plugin. However I was wondering if we can a load a SVG Sprite to use it's fragment identifiers and add a proper icon for it.

So far I wasn't able. Thought you could have a solution.

Thanks beforehand.

@ryanfitzer
Copy link

For those of you coming to this thread years later, when I tried to load a sprite, the result was an empty <svg/> wrapper. Setting the svgo option to false resolved this. My sprite is already optimized, so I haven't looked into which specific settings in svgo handle this.

Not sure if that was the same issue that @mascardoso was facing, but thought I'd post my resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants