Skip to content

Instantly share code, notes, and snippets.

Keath Milligan keathmilligan

View GitHub Profile
keathmilligan /
Created Oct 16, 2016
Lazy-loaded routes with angular-cli

Create the app:

ng new angular-cli-lazyload

cd angular-cli-lazyload

Create a module to be lazy loaded:

ng g module lazy

keathmilligan /
Last active Mar 20, 2018
auth0 + angular-cli notes

Auth0 Example with Angular CLI

A complete example is available at

The provided auth0 tutorial uses SystemJS, these notes outline how to integrate into an angular-cli or straight webpack project.

Create project as usual with "ng create".

Install auth0 packages & bootstrap:

You can’t perform that action at this time.