-
Notifications
You must be signed in to change notification settings - Fork 22
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 can it be loaded on demand? #5
Comments
Hello! Currently it is not possible, I am still working on it and in the future I hope to succeed. In previous versions (without vite) it was much simpler |
Get the content of the svg icon through the server-side getIcon.ts api. Are there any downsides to this scheme? |
@cdwmhcc New version on nuxt 3.0.0 is now available, I encourage you to test it 😄 |
Wow, crazy, I'll test it later 👍👍👍 |
This scheme will write all svg to nuxticons.mjs file, my project has several thousand svg icons, nuxticons.mjs file will be over 5mb.
How can it be loaded on demand?
The text was updated successfully, but these errors were encountered: