Last active
August 8, 2018 20:06
-
-
Save easierbycode/0ee05a5b177fc6564db725d7104e0c5d to your computer and use it in GitHub Desktop.
ng2-fundamentals (github.com/jmcooper/ng2-fundamentals)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Routes } from '@angular/router' | |
| import { EventsListComponent } from './events/event-details/event-details.component' | |
| export const appRoutes:Routes = [ | |
| { path : 'events', component: EventsListComponent }, | |
| { path : '', redirectTo: '/events', pathMatch : 'full' } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "compilerOptions": { | |
| "target": "es5", | |
| "module": "commonjs", | |
| "moduleResolution": "node", | |
| "sourceMap": true, | |
| "emitDecoratorMetadata": true, | |
| "experimentalDecorators": true, | |
| "removeComments": false, | |
| "noImplicitAny": false, | |
| "suppressImplicitAnyIndexErrors": true, | |
| "typeRoots": [ | |
| "./node_modules/@types/" | |
| ] | |
| }, | |
| "compileOnSave": true, | |
| "exclude": [ | |
| "node_modules/*", | |
| "**/*-aot.ts" | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment