mainView.router.loadPage(“result.html”);
how to write this in v2?
mainView.router.loadPage(“result.html”);
how to write this in v2?
mainView.router.navigate(url);
You can also try
app.router.navigate('/about/');
Just make sure you have it in your routes.js like this
// About page
{
path: '/about/',
url: './pages/about.html',
name: 'about',
},