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
}

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.

See also

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String