Skip to content

Commit

Permalink
fix: vite config for opening specific port number
Browse files Browse the repository at this point in the history
  • Loading branch information
taiseen committed Jun 9, 2024
1 parent dd1a753 commit c5df780
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,11 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],

// for development mode
server: {
port: 8585,
open: true, // open browser
},

})

0 comments on commit c5df780

Please sign in to comment.