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

New template: Webpack - Server-side rendering #209

Closed
imcvampire opened this issue Oct 25, 2016 · 8 comments
Closed

New template: Webpack - Server-side rendering #209

imcvampire opened this issue Oct 25, 2016 · 8 comments

Comments

@imcvampire
Copy link

Vuejs 2.0 has 1 nice feature is server-side rendering. But setup this feature runs correctly somehow is too pain for newbie.

So I think it's nice to add a new template support server-side rendering.

@egoist
Copy link
Collaborator

egoist commented Nov 2, 2016

something like https://github.com/zeit/next.js for Vue.js would look sweet.

@kasperhelweg
Copy link

kasperhelweg commented Nov 18, 2016

You can check out this WIP template if you'd like :

vue init molamil-com/vuejs-ssr-template <project-name>
cd <project-name>
npm install
npm run dev

...curl localhost:3001 responds with the SSR version...

@jpt
Copy link

jpt commented Dec 28, 2016

@egoist Have you seen https://github.com/nuxt/nuxt.js ? It's been a while since your comment, but Nuxt is exactly what you are describing, and I like what I see! I would love if if there were something official, though. I always assumed vue-cli would expand to something more like Ember and Angular 2 where you can add a route from the command line, etc. But perhaps that is out of the scope of the Vue core.

@posva
Copy link
Member

posva commented Dec 28, 2016

@jpt It doesn't need to be official to be good 😉 . Nuxt is a great project, well maintained and actively being worked on. It'd we a waste to create an official fork of it!

@xpepermint
Copy link

A simple server-side rendering CLI template for Vue.js: https://github.com/xpepermint/vue-cli-template

@zigomir
Copy link
Contributor

zigomir commented Feb 11, 2017

Looks like Vue v2.2 will get even more SSR goodies and community is thinking about it. Also see this: https://www.youtube.com/watch?v=InOWBvseRYU&feature=youtu.be&t=5386

@goriunov
Copy link

Hello is there any update about cli template for ssr, i really would like to have full supported webpack template wich would be managed by official vue js team. I think many peaple get stuck in searching for ssr templates. The temlates which exist usually do not have some feachers for example css bundeling or proper minification. And so on ... . Thank you

@fahrenq
Copy link

fahrenq commented Oct 17, 2017

Hello everyone!
It's almost been a year after this issue was created. We got pretty ssr guide but still no template.
In this issue @LinusBorg mentioned there's work on it, but is it?

If no - I could start build template based on hn example.

@LinusBorg I'm not sure if you're close to vue-cli and its templates, but can you please coordinate future moves in this issue?

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

10 participants