ViteProperties

open class ViteProperties

Configuration properties for integrating Vite with Java web applications.

This class provides properties that can be used to configure the Vite integration, including settings for the Vite manifest file, local development server URL, resource paths, and debug mode.

These properties can be configured in the application's configuration file (e.g., `application.properties` or `application.yml` for Spring applications) and are typically used by integration modules to facilitate the setup and use of Vite in Java web applications.

Usage example:

vite.debug=true
vite.manifestPath=/WEB-INF/dist/.vite/manifest.json
vite.localServerUrl=http://localhost:5173
vite.resourcePath=/resources

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
The local server URL for Vite development.
Link copied to clipboard
The path of the manifest file generated by Vite.
Link copied to clipboard
The path to the resources.

Functions

Link copied to clipboard
open fun isDebug(): Boolean
Returns whether debug mode is enabled.
Link copied to clipboard
open fun setDebug(debug: Boolean)
Sets whether debug mode is enabled.