vue-videobg icon indicating copy to clipboard operation
vue-videobg copied to clipboard

Doesn't work with Nuxt.js ssr mode: Unexpected token <

Open MichaelJCole opened this issue 5 years ago • 1 comments

There is a compatibility issue with Nuxt.js that I don't completely understand.

The workaround is to whitelist this component in ssr mode.

MichaelJCole avatar Aug 11 '18 04:08 MichaelJCole

@MichaelJCole you could use your plugins only on client side if you want: { src: '@/plugins/video-bg', ssr: false } (working fine on my side)

Source: https://nuxtjs.org/guide/plugins/#client-side-only

Hope it helps.

stact avatar Dec 27 '19 19:12 stact