From 9e83cad9c568df9412eade4b093ae72a6aff9b3e Mon Sep 17 00:00:00 2001 From: Thai Son Date: Mon, 17 Jun 2024 18:52:20 +0700 Subject: [PATCH] feat: add config port server --- vite.config.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 861b04b..0ecba4d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,7 +1,10 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react-swc' +import { defineConfig } from 'vite'; +import react from '@vitejs/plugin-react-swc'; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], -}) + server: { + port: 3000, + }, +});