Skip to content

💡 [REQUEST] - Lazy loading / splitting icon fonts css #98

Open
@bengreenow

Description

@bengreenow

Describe the feature

Hey, thanks for creating this plugin, it's been very helpful when transitioning to nuxt.

We use a lot of the mdi-icons notice our initial page render spit out like 600kb of icon declarations. This is understandably very slow. I was wondering if we could edit the plugin / add a config option that would move these into a seperate stylesheet which could be heavily cached, we could save a lot of time on inial load.

Perhaps this feature already exists? any info would be greatly appreaciated.

Thanks

image

A LOT of these mdi declarations are plonked at the top of index.html
image

Additional information

  • Would you be willing to help implement this feature?
  • Does this feature have a potential to break existing features?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions