filmov
tv
Angular 2+ - Master Google's Front-End Framework - Chapter 6: Building and Serving Angular Universal

Показать описание
After installing Angular Universal in the first Chapter: you may be wondering: what do I do now? Well instead of using:
ng serve
One can use:
npm run build:ssr
To build the Angular Universal Project. This allows one to then run the following command and the project will open on localhost:4000.
npm run serve:ssr
This will then open the server on Port 4000.