Navigating
Starting your router
const myRouter = createRouter([
{ name: 'home', path: '/home' },
{ name: 'about', path: '/about' },
{ name: 'contact', path: '/contact' }
]);
myRouter.start('/home');Defining a default route
Navigating to a specific route
Forcing a reload
Replacing current state
Custom options
Navigate callback
Stopping your router
Last updated