Vite for Gradle • opensavvy.gradle.vite.base.config • ViteConfig • base
base¶
Base public path when served in development or production.
Valid values include:
-
Absolute URL pathname, e.g.
/foo/
, -
Full URL, e.g.
https://foo.com/
, -
Empty string or
./
(for embedded deployment).
Example¶
To expose the generate website to the /ui
path instead of the website root, use: