Skip to content

Commit 995c59e

Browse files
authored
fix(vite) : Update vite.mdx (#3369)
1 parent fdd8658 commit 995c59e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/content/docs/start/frontend/vite.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ This guide is accurate as of Vite 5.4.8.
117117
// prevent vite from obscuring rust errors
118118
clearScreen: false,
119119
server: {
120-
port: 1420,
120+
// make sure this port matches the devUrl port in tauri.conf.json file
121+
port: 5173,
121122
// Tauri expects a fixed port, fail if that port is not available
122123
strictPort: true,
123124
// if the host Tauri is expecting is set, use it

0 commit comments

Comments
 (0)