vue-fullscreen
vue-fullscreen copied to clipboard
Does not work with server side rendering
When I try to use the component on the page, that has to be rendered on the server I get the error
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.