EnableVite
Annotation to enable Vite integration in a Spring MVC application.
When this annotation is applied to a @Configuration
class, it imports the ViteConfig configuration, which sets up the necessary beans and configuration for using Vite in the application.
Usage:
@Configuration
@EnableVite
public class AppConfig {
// Your other Spring configuration
}
Content copied to clipboard
This annotation is typically applied at the top-level configuration class to ensure that Vite's configuration is loaded and available to the application context.