Home

Issue: 1320

Make vue-svgicon work correctly with Nuxt

[issue link]

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,

This question is available on Nuxt.js community (#c1168)