Establecí el camino en promocionar:
{ ruta: 'inicio', componente: componente principal; }
app.component.html: <button(click)="routerLink=/home"
esto es un error
¿Quieres ir a la página de inicio mientras haces clic?
Gracias
Lo resolví app.component
<button (click)="goToHome('home')"/>aplicación.componente.ts
constructor(private router:Router){} GOToHome(_pageName:string):void{ this.router.navigate[`${_pageName}'];enrutamiento de aplicaciones
{path:'home', component:homecomponent },