From 5adfb13d83665587e2caae2ba096c4159d17abea Mon Sep 17 00:00:00 2001 From: Kilian Hofmann Date: Sat, 4 May 2024 22:05:00 +0200 Subject: [PATCH] Base Path --- react/dist/index.html | 4 ++-- react/vite.config.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/react/dist/index.html b/react/dist/index.html index 0709c6f..f659284 100644 --- a/react/dist/index.html +++ b/react/dist/index.html @@ -2,10 +2,10 @@ - + Vite + React + TS - +
diff --git a/react/vite.config.ts b/react/vite.config.ts index 861b04b..eb0a965 100644 --- a/react/vite.config.ts +++ b/react/vite.config.ts @@ -4,4 +4,5 @@ import react from '@vitejs/plugin-react-swc' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], + base: "phpCourse/react/dist" })