refactor(web): 优化部署打包方案

This commit is contained in:
v-zhangjc9
2025-05-09 17:23:26 +08:00
parent 121f6688c6
commit aa93b52dd9
9 changed files with 378 additions and 115 deletions

View File

@@ -1,5 +1,5 @@
import {createRoot} from 'react-dom/client'
import {createBrowserRouter, RouterProvider} from 'react-router'
import {createHashRouter, RouterProvider} from 'react-router'
import './components/Registry.ts'
@@ -16,7 +16,7 @@ import Version from './pages/Version.tsx'
import Yarn from './pages/Yarn.tsx'
import YarnCluster from './pages/YarnCluster.tsx'
const routes = createBrowserRouter([
const routes = createHashRouter([
{
path: '/',
Component: App,