Generator-jhipster: Server side rendering with Angular Universal

Created on 10 Apr 2017  Â·  8Comments  Â·  Source: jhipster/generator-jhipster

Server side rendering is pretty important for SEO. It's also should be faster. Angular Universal has changed the current state:

Universal platform API has been merged into Angular 4.0!

It's also has an upgrade guide from 2.x to 4.

More info here and here.

Most helpful comment

I'm curious, can you share a repo ?

All 8 comments

You need a node.js server for that... So it just won't work with our current setup.

Hi @jdubois , i need to have sever-side-rendering in my app. So to have server-side-rending in our jhipsterapp, You mean that we separate the REST API of Spring boot from the Angular part and then add a nodejsserver to it?

https://stackoverflow.com/questions/37699744/can-we-use-angular2-universal-with-server-side-java

Thanks & Regards,
Deepu

On Mon, Feb 5, 2018 at 9:50 AM, Hadi Rasouli notifications@github.com
wrote:

Hi @jdubois https://github.com/jdubois , i need to have
sever-side-rendering in my app. So to have server-side-rending in our
jhipsterapp, You mean that we separate the REST API of Spring boot from
the Angular part and then add a nodejsserver to it?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jhipster/generator-jhipster/issues/5575#issuecomment-363018100,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDlF9kT18WePpQebw7dgDQJQzN9HvUnks5tRsDSgaJpZM4M5Xg2
.

You need to generate the server side rendering and serve it from Spring Boot.
This should be discussed on StackOverflow, and then summarized as a tip on our website.

@deepu105 , @jdubois Thanks for help. I have separated the Webapp and API and then add the
angular universal to the project. it seems the solution is like this until we have Angular universal in lovely jhipster generator.

I'm curious, can you share a repo ?

Please don’t comment on old, closed issues. If you’d like to see this feature implemented, please make an attempt to do it yourself. Then create a pull request with your changes. We’d be happy to help if you run into any blockers.

On Aug 20, 2018, at 04:05, riaprocoumai notifications@github.com wrote:

https://github.com/swaechter/angularj-universal

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pascalgrimaud picture pascalgrimaud  Â·  3Comments

shivroy121 picture shivroy121  Â·  3Comments

SudharakaP picture SudharakaP  Â·  3Comments

chegola picture chegola  Â·  4Comments

ahmedeldeeb25 picture ahmedeldeeb25  Â·  3Comments