Routes in angular 19 do not change anything in the interface

Discussão em 'Angular' iniciado por Vinicius Maciel Pires, Janeiro 14, 2025.

  1. I have a simple route system in Angular 19, basically it is the home page and an about page that are between a header and a footer. However, despite the URL changing when clicking on the redirect link, nothing happens in the interface and an error is not generated. I looked for answers here in the community but all the problems I found involved treatment on the routes, which is not my case since the route is very simple

    export const routes: Routes = [
    {path: '', component: FormularioComponent},
    {path: 'about', component: AboutComponent},
    ];


    Follow the link to the project in the git repository:

    https://github.com/ViniciusDevelopment/modelo19

    thank you in advance

    Continue reading...

Compartilhe esta Página