Static GitHub Issues

[156] Handle SVG files

prev: Dynamic nested routes with parent url.
next: add graphql file detection to webpack config

Hi!

Will you be adding support for SVG files via something like https://github.com/visualfanatic/vue-svg-loader ?

I tried installing it and adding the loader in nuxt.config.js:

build: {
      extend (config) {
          loaders: [{
            test: /\.svg$/,
            loader: 'vue-svg',
          }]
      }
  }
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c134">#c134</a>)</em></sub></div>