Package-level declarations
This package contains utility classes for the JaVite library.
The utility classes in this package provide various helper methods to support the integration of Vite with Java web applications. These utilities simplify tasks such as reading Vite manifest files and generating HTML tags for Vite assets.
The following classes are included in this package:
- com.javite.util.ManifestUtils - Utility methods for reading and processing Vite manifest files.
- com.javite.util.HtmlUtils - Utility methods for generating HTML script and link tags for Vite assets.
Usage example:
// Reading the Vite manifest
JsonNode manifest = ManifestUtils.readManifest(manifestFilePath);
// Generating a script tag
String scriptTag = HtmlUtils.generateScriptTag("http://localhost:5173/src/main.js");
Content copied to clipboard