import { Route } from '@angular/router';
import {ProductosComponent } from './productos.component';
import { HomeComponent } from './home/home.component';
import { EmpresaComponent} from './empresa/empresa.component';
import { NoticesComponent } from './notices/notices.component';
import { ContactoComponent } from './contacto/contacto.component';
import { NotificationsComponent } from './notifications/notifications.component';
import { RegistrosComponent } from './registros/registros.component';
import { SoporteComponent } from './soporte/soporte.component';
import { MapsComponent } from './maps/maps.component';
export const MODULE_ROUTES: Route[] =[
{ path: '', redirectTo: 'productos', pathMatch: 'full' },
{ path: 'home', component: HomeComponent },
{ path: 'servicios', component: EmpresaComponent },
{ path: 'contacto', component: ContactoComponent },
{ path: 'notices', component: NoticesComponent },
{ path: 'notifications', component: NotificationsComponent },
{ path: 'soporte', component: SoporteComponent },
{ path: 'maps', component: MapsComponent },
{ path: 'registros', component: RegistrosComponent }
]
export const MODULE_COMPONENTS = [
HomeComponent,
EmpresaComponent,
ContactoComponent,
NoticesComponent,
NotificationsComponent,
SoporteComponent,
MapsComponent,
RegistrosComponent
]
Enrutamiento capa 1 prototipo del proyecto ART-CODE STUDIOS, este va adjunto con slidebar-routes.config.ts, quien es el que asigna las variables globales
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.