jvm Vite for Gradle • opensavvy.gradle.vite.base.config • ViteServerConfig • port port¶ @get: Internal abstract val port: Property<Int> Specify server port. Note if the port is already being used, Vite will automatically try the next available port so this may not be the actual port the server ends up listening on. Example¶ vite { server { port = 5173 } } External resources¶ Official documentation