diff --git a/packages/examples/react-demo/vite.config.ts b/packages/examples/react-demo/vite.config.ts index 4e4471c50..766526ead 100644 --- a/packages/examples/react-demo/vite.config.ts +++ b/packages/examples/react-demo/vite.config.ts @@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], + base: './', build: { outDir: './build', emptyOutDir: true, // also necessary