22 lines
483 B
TypeScript
22 lines
483 B
TypeScript
import { Routes } from '@angular/router';
|
|
import {AppComponent} from "./app.component";
|
|
import {DirectionsPageComponent} from "./directions-page/directions-page.component";
|
|
import {LandingPageComponent} from "./landing-page/landing-page.component";
|
|
|
|
export const routes: Routes = [
|
|
|
|
{
|
|
path: 'directions',
|
|
component: DirectionsPageComponent
|
|
},
|
|
{
|
|
path: '',
|
|
component: LandingPageComponent,
|
|
pathMatch: 'full'
|
|
},
|
|
{
|
|
path: '**',
|
|
redirectTo: ''
|
|
}
|
|
];
|