Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Open
@Evertt

Description

@Evertt
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.