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

Doesn't work with Storybook #9

Open
Rusinas opened this issue Jun 27, 2022 · 2 comments
Open

Doesn't work with Storybook #9

Rusinas opened this issue Jun 27, 2022 · 2 comments

Comments

@Rusinas
Copy link

Rusinas commented Jun 27, 2022

Hi. Found your plugin and it's the only one that at least do something in my case.

I am trying to create svg sprite and use it inside storybook (Vite + Vue2), but all of the plugins I tried before did absolutely nothing or cause errors. Yours, in other hand, create the sprite and include it in the DOM, but it happened AFTER the Vite build, so this is happening:
image

I don't know how to solve this. I can see all my icons in the DOM:
image

But none of them work:
image

But the ID's are matching:
image
image

Weird stuff :(

@Rusinas
Copy link
Author

Rusinas commented Jun 27, 2022

I am stupid nevermind. Id's of symbols don't need '#' lol

@meowtec
Copy link
Owner

meowtec commented Jun 27, 2022

No problem. I will close this issue if there are no anything else.

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