Update project dependencies and configuration: Added ECharts for data visualization, integrated Terser for minification, and adjusted Vite configuration for production. Updated app title and ConnectScreen content to reflect new version. Enhanced EQPage with headphone model loading and frequency response chart rendering.
This commit is contained in:
+5
-3
@@ -1,6 +1,6 @@
|
||||
import { Toaster } from "@/components/ui/sonner";
|
||||
import { TooltipProvider } from "@/components/ui/tooltip";
|
||||
import { Route, Switch } from "wouter";
|
||||
import { Route, Switch, Router } from "wouter";
|
||||
import ErrorBoundary from "./components/ErrorBoundary";
|
||||
import { ThemeProvider } from "./contexts/ThemeContext";
|
||||
import { DeviceProvider } from "./contexts/DeviceContext";
|
||||
@@ -18,7 +18,7 @@ import IOPage from "./pages/IOPage";
|
||||
import VUPage from "./pages/VUPage";
|
||||
import SelectPage from "./pages/SelectPage";
|
||||
|
||||
function Router() {
|
||||
function AppRouter() {
|
||||
return (
|
||||
<Switch>
|
||||
<Route path="/" component={Home} />
|
||||
@@ -46,7 +46,9 @@ function App() {
|
||||
<DeviceProvider>
|
||||
<TooltipProvider>
|
||||
<Toaster />
|
||||
<Router />
|
||||
<Router base="/x8/v2/public">
|
||||
<AppRouter />
|
||||
</Router>
|
||||
</TooltipProvider>
|
||||
</DeviceProvider>
|
||||
</ThemeProvider>
|
||||
|
||||
Reference in New Issue
Block a user