Skip to content
Snippets Groups Projects
Commit fea54f45 authored by Heinrich Marks's avatar Heinrich Marks :hibiscus:
Browse files

edit routing component

parent 114dd53f
Branches
Tags
1 merge request!5Resolve "App Routing Component"
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common'; import { RouterModule, Routes } from '@angular/router';
// import { GewünschstesModul } from './blabla/wunschmodul';
const routes: Routes = [
// { path: '', redirectTo: '/wumod', pathMatch: 'full' }, //default route
// { path: 'wumod', component: GewünschstesModul },
];
@NgModule({ @NgModule({
imports: [ imports: [
CommonModule RouterModule.forRoot(routes)
],
exports: [
RouterModule
], ],
declarations: [] declarations: []
}) })
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment