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

Does not work with server side rendering

Open m00nk opened this issue 5 years ago • 1 comments

When I try to use the component on the page, that has to be rendered on the server I get the error image

m00nk avatar Jul 21 '18 09:07 m00nk

I tried to run it on Nuxt, and there was no problem. I think you should import the file in the dist directory.

import Vue from 'vue'
import Fullscreen from 'vue-fullscreen'
Vue.use(Fullscreen)

Or you have to set vue-loader to compile the source code in node_modules/vue-fullscreen yourself.

mirari avatar Aug 01 '18 07:08 mirari