This project is an interesting example on how angular application can be wisely combined with a static site generator in the form of scully so as to effectively generate robust apps in no time.
Front page of an application.
- Run
ng buildto build the project. The build artifacts will be stored in thedist/directory. - Run
npm run scullyto generate scully routes. This command createsscully-routes.jsoninside thesrc/assetsfolder which contains the routes of Angular application and is needed for Scully runtime. - Run
npm run scully:serveto start two web servers - static prerendered version of website built with Scully and Angular live version of given application.