20 lines
440 B
TypeScript
20 lines
440 B
TypeScript
import { Routes } from "@angular/router";
|
|
import { MainPageComponent } from './pages/main/main.component';
|
|
import { NitroplusComponent } from './pages/nitroplus-translator/nitroplus-translator.component';
|
|
|
|
export const routes: Routes = [
|
|
{
|
|
path: '',
|
|
children: [
|
|
{
|
|
path: '',
|
|
component: MainPageComponent
|
|
},
|
|
{
|
|
path: 'translator',
|
|
component: NitroplusComponent
|
|
}
|
|
]
|
|
},
|
|
];
|