Skip to content

Instantly share code, notes, and snippets.

@lydemann
Created October 21, 2018 16:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lydemann/5b85da122a46692f60fe4c2261c91389 to your computer and use it in GitHub Desktop.
const routes: Routes = [
{ path: '', redirectTo: 'map', pathMatch: 'full' },
{ path: 'map', component: MapComponent, children: [...DrawControlsRoutes] },
{ path: '**', redirectTo: '/map' }
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment