mirror of
https://github.com/Dansen999/at-certification-stock.git
synced 2026-01-11 21:43:34 +00:00
Pushed new version.
This commit is contained in:
17
src/app/app-routing.module.ts
Normal file
17
src/app/app-routing.module.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import {NgModule} from '@angular/core';
|
||||
import {RouterModule, Routes} from '@angular/router';
|
||||
import {SentimentComponent} from "./pages/sentiment/sentiment.component";
|
||||
import {LandingPageComponent} from "./pages/landing-page/landing-page.component";
|
||||
|
||||
const routes: Routes = [
|
||||
|
||||
{path: 'sentiment/:symbol', component: SentimentComponent},
|
||||
{path: '**', component: LandingPageComponent}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forRoot(routes)],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class AppRoutingModule {
|
||||
}
|
||||
Reference in New Issue
Block a user