Skip to content

[feature request] Auto-load SVG components #71

@mornir

Description

@mornir

Hey!
With Nuxt 2.13, we can auto-load components. I tried auto-loading the SVG components like this in nuxt.config.js

  components: {
    extensions: ['vue', 'svg']
  }

But it doesn't work. (I put the SVG files in the components directory).

It would be great if SVG components were auto-loaded like regular Vue components! 😀

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @TheAlexLichter@mornir

        Issue actions

          [feature request] Auto-load SVG components · Issue #71 · Developmint/nuxt-svg-loader