Closed michaelpumo closed 5 years ago
@michaelpumo Just returned from a 5 week “offline” trip, hence the little delay here. Let me get back to this early next week when I’ve survived the jet lag :)
@michaelpumo Vue Design System does not use “window” anywhere actually and this whole issue is related to something else. I just commented about it in your other issue. Closing this one for now since this should get fixed too once the build process has been rebuild.
I've read all I can about integrating Vue Design System into an existing project, but not seeing anything about Nuxt and SSR - not even in the FAQ.
Related to this issue: https://github.com/viljamis/vue-design-system/issues/91
I have started out with a completely fresh clone of the Vue Design System 3 and when importing the default TextStyle component into my (bare bones) Nuxt project, I get this error:
Seems like Vue Design System's liberal use of window in the build system.js means that it isn't guarding against use cases for SSR.
Can anyone confirm if the design system can work with Nuxt? Is it simply a bug?