-
Notifications
You must be signed in to change notification settings - Fork 238
vue ssr express boilerplate #15
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
Comments
https://github.com/vuejs/vue-hackernews-2.0 is a nice SSR example There's also a plan for official SSR template. |
@Devil-Cong I am considering using Nuxt, their documentation looks clean but their demo does not seem so fast at rending like the Vue-hackernews demo for example. @egoist I have to take a deeper look at demo, the thing which I can't get my head around is using server entry, client entry.. I don't get it. Let's say I build my app, I understand I would need node to run on 'client', but do I need anything else running on client side, can I make the client side communicate with my backend which will be express + nodejs. |
@besnikh why would you need node to run on client? I am having issues with the documentation, understanding how the factory pattern for the createApp works if node does not support ES6 modules yet? My app continues to break on the server side of things due to this, and then when I try converting that to commonJS module system, it also breaks when I try to var createRouter = require('vue-router').createRouter; |
boilerplate Inspired by vue-hackernews2.0 |
Hi,
I am building my app using Vue 2, and I love it, but I see that I will need SSR on most of my pages but just by following documentation I think I am unable to finish it.
Is there any boilerplate of Vue SSR + Express + Vuex(maybe) where I could see how the structure is, how things connect and interact with each other... I would just need a hint.
Looking forward to receive from someone,
Regards,
Cheers!
The text was updated successfully, but these errors were encountered: