Vue Router v4.xで ハッシュ履歴(相対パス)指定を行う

Vue Router v 4.xで、サーバーを利用しない(file://)場合などに、Vue.jsをHTML履歴ではなく、ハッシュ履歴で使いたい場合は、src/router/index.js|ts
に、
const router = createRouter({
history: createWebHashHistory('./'),
routes
})
と記載するとローカルファイルのHTMLでもルーティングを利用することができます。
公式ドキュメントはhttps://next.router.vuejs.org/api/#createwebhashhistory に記載があります。