-
Notifications
You must be signed in to change notification settings - Fork 433
Server side rendering is not working #535
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
I'm also keen to use SSR with ng5, but it looks like it's still a work in progress. From the Angular 5 branch readme: "NOTE Currently issues with SSR and 5.x - SSR temporarily removed" |
The milestone ticket for this #516 . Just to monitor the progress. As I understand, the main fix for this was done by angular-cli team, so hopefully, it won't be long until the ng5 version would release. |
This works both in Development & Production. 🎁 (Apologies on the delay) Now dotnet publish won't fail, and you can successfully build Production builds. In the future, boot.server.PRODUCTION.ts probably won't be needed. We'll be working on upgrading this to use the CLI version that Steve Sanderson has been working on the past few months - this will clean-up a lot of the configuration so that it's all handled by the CLI itself. (Aka: no more webpack files for us to deal with here) ✨ This should close out many issues: #535 #482 (others as well, can't find them at the moment)
@MarkPieszak , I have built application using Asp.Net core 2.0 with Angular Template in VS2017 with AspNetCoreSPA. After publish site, Everything is working fine except Server side rendering when I access website with domain name or Server IP address. Although, when I accessing using local host on server, server side is working. I am not able to figure out why it is behaving like this. please help me to get rid of it. This is my package.json file{
|
I ran the Angular 5.0 Universal & ASP.NET Core advanced starter-kit example, but it only runs the browser version. The Server version that is supposed to be having the server side rendering is not working for me.
Could you please specify how to turn it on as it is not yet turned on.
Also, the working example : http://aspnetcore-angular2-universal.azurewebsites.net/home
has the SSR. If I check on the view source, I could see the rendered html tags in the app-root. The example for Angular 5 does not seem to work.
The text was updated successfully, but these errors were encountered: