26 Nov app-routing.module modificato per lista-eventi.component
[vc_row css_animation=”” row_type=”row” use_row_as_full_screen_section=”no” type=”full_width” angled_section=”no” text_align=”left” background_image_as_pattern=”without_pattern”][vc_column][vc_column_text]import { NgModule } from ‘@angular/core’;
import { Routes, RouterModule } from ‘@angular/router’;
import {ListaEventiComponent} from ‘./components/lista-eventi/lista-eventi.component’;
const routes: Routes = [
{
<strong><span style="color: #ff0000;"> path: 'lista-eventi',</span></strong>
<strong><span style="color: #ff0000;"> component: ListaEventiComponent,</span></strong>
<strong><span style="color: #ff0000;"> data: { title: 'Lista degli Eventi' }</span></strong>
},
{
<strong><span style="color: #ff0000;"> path: '',</span></strong>
<strong><span style="color: #ff0000;"> redirectTo: '/lista-eventi',</span></strong>
<strong><span style="color: #ff0000;"> pathMatch: 'full'</span></strong>
}
];
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
export class AppRoutingModule { }[/vc_column_text][/vc_column][/vc_row]
Sorry, the comment form is closed at this time.