From d682ed78b7cab0a4cefbf01090538d0e2408ccf1 Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Fri, 6 Oct 2023 18:08:58 +0330 Subject: [PATCH] config port 3000 for all projects #55 (#56) --- Svelte/vite.config.js | 3 +++ Vanilla/vite.config.ts | 3 +++ Vue/vite.config.ts | 3 +++ 3 files changed, 9 insertions(+) diff --git a/Svelte/vite.config.js b/Svelte/vite.config.js index d701969..beb0037 100644 --- a/Svelte/vite.config.js +++ b/Svelte/vite.config.js @@ -4,4 +4,7 @@ import { svelte } from '@sveltejs/vite-plugin-svelte' // https://vitejs.dev/config/ export default defineConfig({ plugins: [svelte()], + server: { + port: 3000, + }, }) diff --git a/Vanilla/vite.config.ts b/Vanilla/vite.config.ts index 1b448ec..b028677 100644 --- a/Vanilla/vite.config.ts +++ b/Vanilla/vite.config.ts @@ -10,4 +10,7 @@ export default defineConfig({ '#': resolve(__dirname, './src/components'), }, }, + server: { + port: 3000, + }, }) diff --git a/Vue/vite.config.ts b/Vue/vite.config.ts index 05c1740..58d297e 100644 --- a/Vue/vite.config.ts +++ b/Vue/vite.config.ts @@ -4,4 +4,7 @@ import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ plugins: [vue()], + server: { + port: 3000, + }, })