Serving a Scully app
Overview
After building, serve the content of the static site by running:
This command creates two web servers, one for the Angular app and one for the Scully app.
npm run scully serve
Disabling JS
Extra: While serving the Scully app, disable JavaScript and the site's navigation still works. More importantly, most parts of the site still work even though JS has been disabled.
Debugging
Extra: In order to debug the Scully application with ngServe, make sure to run:
npm run scully
Then, start the server:
npm run scully:serve
Scully will use the generated HTML to fill in the ng serve
's session content.