From b9ab6a924487a241719928ae00c3965efcbcc71b Mon Sep 17 00:00:00 2001 From: kunish <17328586+kunish@users.noreply.github.com> Date: Sun, 27 Aug 2023 16:41:09 +0800 Subject: [PATCH] feat: use hash router instead of browser (#1) --- src/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index cce1b56..0333bda 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2,7 +2,7 @@ import 'solid-devtools' import { render } from 'solid-js/web' -import { Router } from '@solidjs/router' +import { Router, hashIntegration } from '@solidjs/router' import { App } from './App' import './index.css' @@ -10,7 +10,7 @@ const root = document.getElementById('root') render( () => ( - + ),