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

ReferenceError: window is not defined using vulcanjs framework #5

Open
dchan14 opened this issue Apr 6, 2017 · 2 comments
Open

ReferenceError: window is not defined using vulcanjs framework #5

dchan14 opened this issue Apr 6, 2017 · 2 comments

Comments

@dchan14
Copy link

dchan14 commented Apr 6, 2017

is there a fix for this issue i am sure its something to do with ssr any help is greatly appreciated

thanks

@zksailor534
Copy link
Owner

You are correct, it does have to do with Server Side Rendering. It seems to be a limitation with style-loader that I have yet to find time to investigate or work around. I asked a question myself regarding this problem here:
survivejs/ama#15
I haven't gone back to read through the chapter he wrote, but maybe that will help.

Supporting SSR is on my to-do list, but I can't say when I'll get to it. If you, or anyone who reads this, figures out how to make it work, please make a Pull Request or let me know how and I'll make the changes necessary.

@dchan14
Copy link
Author

dchan14 commented Apr 15, 2017

thanks for the reply, in vulcan i removed the layout portion from being loaded by the server/main.js file and it works but i have another issue now i know when i used to use adminlte adding a route only refreshed the center panel but now it refreshes the whole page i am not sure if it's a vulcan issue or something i am supposed to do with admin-lte-dash. would you be able to shed some light?

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

No branches or pull requests

2 participants