Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with server side rendering #11

Open
m00nk opened this issue Jul 21, 2018 · 1 comment
Open

Does not work with server side rendering #11

m00nk opened this issue Jul 21, 2018 · 1 comment

Comments

@m00nk
Copy link

m00nk commented Jul 21, 2018

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

@mirari
Copy link
Owner

mirari commented Aug 1, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants