-
Notifications
You must be signed in to change notification settings - Fork 65
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
how to disable svg caching #160
Comments
Why not creating a .vue component and use the SVG inside for such a specific use case? |
Also need this. Cache is super annoying during development. |
This wasn't about caching, I think; it's more like it wasn't picking up the updates for custom collections. #282 should already fixed this. |
@antfu thanks for looking at it. Still have this behavior with local svgs on 1.10.2. Refreshing page does not help, neither does restarting nuxt, the only thing that makes svg change to be shown is The config looks like this:
|
c695667 should fix it. Tho it's a bit tricky to support real HMR as the rendered icons do not have a direct relationship with the source, but in |
Still does not work. The json file in Here is stackbiz reproduction https://stackblitz.com/edit/nuxt-icon-3trsfvly?file=assets%2Ficons%2Fnuxt-icon.svg There is also a new error on |
How can I disable icon caching? I'm doing svg animation and I need hmr when changing an svg file.
https://stackblitz.com/edit/nuxt-icon-playground-mjfbfn?file=assets%2Ficons%2Fnuxt-icon.svg
Try changing the fill attribute of the svg file and save it
The text was updated successfully, but these errors were encountered: