-
Notifications
You must be signed in to change notification settings - Fork 93
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
Server side rendering #144
Milestone
Comments
Hi @meeroslav. Last week I tried a lot of steps to solve the problem. The status of my solution now is:
With the appRoutes mentioned beneath I get the following:
So it looks like the routing is undefined the first time (server-side). What I tried for now
translate-server-loader.service.ts
translate-browser-loader.service.ts
app.server.module
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
I'm struggling to impelement the localize-router package with an Angular Universal set-up (with the most recent version of Angular 6). When I just try to implement the server-side intialization suggestions in the app module I'm running into the following issue
The working example that is mentioned in the documentation is working with quite an outdated version of Angular (2 and the RC of universal). When I am trying to build this, I am running into the following issue:
Then I tried to copy the solution design as in the working example and impelemented it in my own project, with the following files:
But still I'm running into issues:
Can someone maybe update the working example to a newer angular version or maybe describe in more detail which steps should be taken to let the localize-router package work well with Angular Universal/server-side rendering?
Thanks in advance!
The text was updated successfully, but these errors were encountered: