diff --git a/examples/html-demo/vite.config.mts b/examples/html-demo/vite.config.mts index a0c47386..c2f634a8 100644 --- a/examples/html-demo/vite.config.mts +++ b/examples/html-demo/vite.config.mts @@ -5,4 +5,8 @@ const __dirname = fileURLToPath(new URL('.', import.meta.url)); export default defineConfig({ root: __dirname, + server: { + port: 5174, + strictPort: false, // Allow Vite to try other ports if 5174 is taken + }, }); diff --git a/examples/react-demo/vite.config.mts b/examples/react-demo/vite.config.mts index 6b2481ad..98e27d6c 100644 --- a/examples/react-demo/vite.config.mts +++ b/examples/react-demo/vite.config.mts @@ -3,4 +3,8 @@ import react from '@vitejs/plugin-react'; export default defineConfig({ plugins: [react()], + server: { + port: 5173, + strictPort: false, // Allow Vite to try other ports if 5173 is taken + }, }); \ No newline at end of file