We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be great if this supported your defined custom webpack loaders, so we could use SVG's as components and have them auto imported.
I wish we could do this:
// In template <template> <svg-logo/> </template>
// nuxt.config.js components: [ { path: "~/components", extensions: ["vue"] }, { path: "~/assets/svgs/", prefix: "svg", extensions: ["svg"] } ], build: { extend(config, { isDev, isClient }) { // Add SVG loader config.module.rules.push({ test: /\.svg$/, use: [ "babel-loader", { loader: "vue-svg-loader", options: { svgo: { plugins: [{ removeViewBox: false }] } } } ] }) }
The text was updated successfully, but these errors were encountered:
Can svgs currently be dynamically / lazy loaded through components ?
Sorry, something went wrong.
@pi0 any tips how how we can or should be using this with SVGs (as Vue components with a loader?)
No branches or pull requests
It would be great if this supported your defined custom webpack loaders, so we could use SVG's as components and have them auto imported.
I wish we could do this:
The text was updated successfully, but these errors were encountered: