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
Upload component is not SSR friendly #1024
Comments
Can confirm. Got the same error |
@cesasol, the fix will be available in the next version ( // nuxt.config.js
global.File= typeof window === 'undefined' ? Object : window.File
... |
Hope it will be fixed in v0.7.1 because someone said it will be fixed in the v0.6.4 back then
|
Is there a fix for this yet, experiencing the same issue |
I've verified, this solves the problem. |
Buefy version: [0.7.0]
Vuejs version: [2.5.17]
OS/Browser: Node Js / Nuxt
Description
Latest update broke SSR compatibility by checking for File in a prop without making sure is defined if not available globally
Steps to reproduce
Just use buefy as a plugin on nuxt with universal mode
Expected behaviour
Fake the File property if not available on the global scope
Actual behaviour
ReferenceError: File is not defined
The text was updated successfully, but these errors were encountered: