-
Notifications
You must be signed in to change notification settings - Fork 56
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
"icon.clientBundle.icons" option not fetching icons #245
Comments
Yeah, it doesn't do the network fetch. I agree we should improve the message to guide users to install packages |
Do we really need to add those packages manually, even with the new "scan" option? We were trying to avoid having to install those packages since we only use some icons and they greatly increase the bundle size. From the docs we assumed that this would add the hardcoded icons and then scan the rest of the app for the other icons it finds and therefore include only the icons that are actually used (?) Cheers |
Yes you need to install them for the build process to get the data. If you don't want to bundle them in the server, you can set |
Hi,
Just updated to latest version and was trying out the new icon.clientBundle.icons property but apparently the icons are not getting fetched.
We get the following issue when running "yarn dev -o" or "yarn build":
Reproduction link:
https://stackblitz.com/edit/nuxt-starter-rhvysv?file=nuxt.config.ts
Thank you, cheers!
The text was updated successfully, but these errors were encountered: