Skip to content

SVG use-case in nuxt.js #36

@anton-karlovskiy

Description

@anton-karlovskiy

@pi0 @danielroe cc @addyosmani

In this project, SVGs are inlined and duplicated whenever the same SVG is needed.
I think we should use https://github.com/nuxt-community/svg-module#vue-svg-loader.
What do you think?

I think we can compare the performance in the two cases where one is using manually inlined SVGs and the other one is using @nuxtjs/svg.
I guess that although the latter might increase the bundle size, it's super better for DX compared to the former.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions