0

I have a large-scale application built using the Angular-cli and I really need some server-side rendering for the sake of better SEO.

I have tried integrating Universal within my current cli project, but had no success and ran into bug after bug. I have also tried to use the Universal-cli (https://github.com/devCrossNet/universal-cli), but also without success. Lot's of cryptic errors.

I'm about to revert to using Angular without the cli so I can plug in Angular Universal without the trouble caused by the cli, but I want to ask for feedback first.

Do you have any recommendations for an easy way to revert from Angular-cli to Angular without the cli on an existing project? Or is my approach all wrong, and I should keep the cli and integrate a different server-side solution?

Thanks

1 Answer 1

1

Angular-cli can now compile your ng generated code into universal coce. You won't have to revert your build from using the cli to webpack.

The full how-to guide can be found here

Great news for us devs that have an angular-cli generated project!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.