Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Auto-load SVG components #71

Open
mornir opened this issue Jul 6, 2020 · 0 comments
Open

[feature request] Auto-load SVG components #71

mornir opened this issue Jul 6, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@mornir
Copy link

mornir commented Jul 6, 2020

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! 😀

@manniL manniL added the enhancement New feature or request label Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants