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

Astro framework: spritemap file is not found in dev mode #4

Open
kdubrovsky opened this issue Aug 3, 2023 · 0 comments
Open

Astro framework: spritemap file is not found in dev mode #4

kdubrovsky opened this issue Aug 3, 2023 · 0 comments

Comments

@kdubrovsky
Copy link

kdubrovsky commented Aug 3, 2023

Environment:
Astro framework + React components

When I use Astro in dev mode (vite under the hood) my React Icon component can't resolve the path: xlinkHref={`/spritemap.svg#icon-${name}`}

build works as usual perfect

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

1 participant