Routing
Routing is a popular way to switch views in an application. This page offers some guidance around how to do that.
Vue
The recommended approach for routing in Vue is Hash Mode:
import { createRouter, createWebHashHistory } from 'vue-router'
const router = createRouter({
history: createWebHashHistory(),
routes: [
//...
],
})
Angular
The recommended approach for routing in Angular is HashLocationStrategy:
RouterModule.forRoot(routes, {useHash: true})