You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Component library with svg-spritemap plugin. Everything works, storybook works, etc.
Main app - no icons showing.
After investigating - I found that app inserting /assets/spritemap... which is correct path inside component library dist folder, but my main app doesn't know anything about /assets/spritemap....
So I'm wondering what kind of magic I have to do to tell vite to dynamically insert spritemap path into xlink-href.
Shortly
Now: localhost:5173/assets/spritemap.svg
I want: localhost:5173/@fs/path_to_uikit/dist/assets/spritemap.svg
The text was updated successfully, but these errors were encountered:
Vite
I have 2 projects:
After investigating - I found that app inserting
/assets/spritemap...
which is correct path inside component library dist folder, but my main app doesn't know anything about/assets/spritemap...
.So I'm wondering what kind of magic I have to do to tell vite to dynamically insert spritemap path into xlink-href.
Shortly
Now:
localhost:5173/assets/spritemap.svg
I want:
localhost:5173/@fs/path_to_uikit/dist/assets/spritemap.svg
The text was updated successfully, but these errors were encountered: