From 3a704186636e1cfd2a0f9ecb48289c9163243058 Mon Sep 17 00:00:00 2001 From: fxi Date: Thu, 17 Oct 2024 17:28:27 +0200 Subject: [PATCH] add vite build base --- docs/index.html | 6 +++--- vite.config.ts | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/index.html b/docs/index.html index 2c6f5bf..1a90232 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,11 +2,11 @@ - + Vite + React + TS - - + +
diff --git a/vite.config.ts b/vite.config.ts index 52be215..03ee188 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,6 +4,7 @@ import { defineConfig } from "vite" export default defineConfig({ plugins: [react()], + base: '/grid_stat/', resolve: { alias: { "@": path.resolve(__dirname, "./src"),