From 8b81617f3cdedc981269920404c6e127698dc326 Mon Sep 17 00:00:00 2001 From: Vincent Loy Date: Sun, 29 Dec 2024 12:26:32 +0100 Subject: [PATCH] Fix paths in index.html and update base configuration in vite.config.ts for relative asset loading --- docs/dist/index.html | 4 ++-- vite.config.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/dist/index.html b/docs/dist/index.html index f289004..e9854fe 100644 --- a/docs/dist/index.html +++ b/docs/dist/index.html @@ -51,8 +51,8 @@ ] } - - + +
diff --git a/vite.config.ts b/vite.config.ts index db54678..1e191fe 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -70,6 +70,7 @@ const umdConfig = defineConfig({ // Configuration pour la documentation const docsConfig = defineConfig({ root: "docs/src", + base: "./", publicDir: resolve(__dirname, "docs/src/public"), build: { outDir: "../dist",