fix(vite) : Update vite.mdx (#3369)

This commit is contained in:
M. Baharuddin Yusuf
2025-06-25 03:00:07 +07:00
committed by GitHub
parent fdd8658327
commit 995c59ed1a

View File

@@ -117,7 +117,8 @@ This guide is accurate as of Vite 5.4.8.
// prevent vite from obscuring rust errors
clearScreen: false,
server: {
port: 1420,
// make sure this port matches the devUrl port in tauri.conf.json file
port: 5173,
// Tauri expects a fixed port, fail if that port is not available
strictPort: true,
// if the host Tauri is expecting is set, use it