We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I just ran npm run build on my vue 3 project and my vendor.js file turns out to be 10MB!!!
npm run build
vendor.js
And when I briefly scan the code of that file, it seems to be mostly filled with svg code. So I'm assuming that that's all the icons from coreui.
So I'm wondering if it's possible to let those icons load lazily, just whenever they're being called for in the templates.
Is that possible? And if yes, could you maybe help me get started on building that?
The text was updated successfully, but these errors were encountered:
@Evertt please upgrade @coreui/icons to 3.0.0-0 v2 has a problem with tree shaking.
@coreui/icons
3.0.0-0
Sorry, something went wrong.
No branches or pull requests
I just ran
npm run build
on my vue 3 project and myvendor.js
file turns out to be 10MB!!!And when I briefly scan the code of that file, it seems to be mostly filled with svg code. So I'm assuming that that's all the icons from coreui.
So I'm wondering if it's possible to let those icons load lazily, just whenever they're being called for in the templates.
Is that possible? And if yes, could you maybe help me get started on building that?
The text was updated successfully, but these errors were encountered: