Static GitHub Issues

[1320] Make vue-svgicon work correctly with Nuxt

prev: nuxt (is) building indicator
next: Hi every one ! how do import vue-cookie pllugin (npm install vue-cookie --save) in nuxt js.

Hello everyone,

I started play around this weekend with Nuxt and so far all problems I solved reading old tickets or mixing the 0.10 doc with so gists and questions around the web.

My last problem is make vue-svgicon works properly with Nuxt.

The first problem I got is if I don't add inside my nuxt.config.js ssr: false and/or mode: pwa I get the pink screen of dead (lol) with this error:

maximum calls stack size exceeded

To workaround since for now I don't need SSR rendering I disabled both functions (but in the future will be awesome make work with SSR too).

After that, all compiles correctly BUT the component doesn't work. I believe is related how Nuxt storage the assets / how I import all created svg assets.

Anybody already used this component inside Nuxt projects? BTW: I'm using Nuxt Express template

Thanks in advance,

<!--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/c1168">#c1168</a>)</em></sub></div>