Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 847 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 847 Bytes

MyBlog

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.

Screenshot

Front page of an application.

blog-front

Build

  1. Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
  2. Run npm run scully to generate scully routes. This command creates scully-routes.json inside the src/assets folder which contains the routes of Angular application and is needed for Scully runtime.
  3. Run npm run scully:serve to start two web servers - static prerendered version of website built with Scully and Angular live version of given application.