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

Reduce Iconify Package Size in NuxtUI – Import Only Needed Icons #341

Open
Thomanidas opened this issue Jan 17, 2025 · 0 comments
Open

Comments

@Thomanidas
Copy link

Thomanidas commented Jan 17, 2025

Hello,

I'm using NuxtUI with Iconify and four collections: Material Symbols, Heroicons, let's icon and Simple Icons.

Image

However, after installing these collections and building my project, the generated packages are several megabytes in size. These packages take up about 80% of my project size, which heavily impacts performance.

Image

Image

total size of my project :

Image

I’d like to:

Import only the specific icons I use from these collections instead of including everything.
Know if there’s a built-in way to achieve this in Iconify/nuxt-icon or any recommended approach.

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