Hey, I have a problem with child routing. I would like, for example, when I’m on step 2 or 3 when refreshing the page, go to step 1.
Please, help
configureRouter(config: RouterConfiguration, router: Router) {
config.title = “Web”;
config.map([
{
route: [’’, ‘test1’],
name: “test1”,
moduleId: PLATFORM.moduleName("…/modules/steps/test1"),
nav: true,
title: “Test 1”,
},
{
route: ‘test2’,
name: “test2”,
moduleId: PLATFORM.moduleName("…/modules/steps/test2"),
nav: true,
title: “Test 2”,
href: “#/modules/test2”,
},
{
route: 'test3,
name: “test3”,
moduleId: PLATFORM.moduleName("…/modules/steps/test3"),
nav: true,
title: “Test 3”,
href: “#/modules/test3”,
},
]);
this.router = router;
}