The routing in this reference application demonstrates:
- Routing Basics
- Routing to Features
- Route Parameters
- Prefetching Data using Route Resolvers
- Child routes
- Styling, Animating, and Watching Routes
- Secondary (Auxiliary) routes
- Route guards (including confirmation when navigating away with unsaved changes)
- Lazy loading (asynchronous routing)
-
Open a command prompt in the project's root directory (APM)
-
Type:
npm install
This installs the dependencies as defined in the package.json file. -
Type:
npm start
This launches the TypeScript compiler (tsc) to compile the application and wait for changes. It also starts the lite-server and launches the browser to run the application.