Skip to content

I know it's possible to make all the icons available globally. But would it be possible for those icons to be lazily loaded? #30

Open
@Evertt

Description

@Evertt

I just ran npm run build on my vue 3 project and my vendor.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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions