UNPKG

@c8y/apps

Version:

Cumulocity IoT applications

24 lines (21 loc) 506 B
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { CoreModule } from '@c8y/ngx-components'; import { HelloComponent } from './hello.component'; const routes: Routes = [ { path: '', redirectTo: 'hello', pathMatch: 'full' }, { path: 'hello', component: HelloComponent } ]; @NgModule({ declarations: [HelloComponent], imports: [RouterModule.forChild(routes), CoreModule], providers: [] }) export class HelloModule {}