Showcase of Vaadin new experimental feature to style Divs, Sections, Footer, ... using TailWind CSS
2.0K
The landing page features full localization and RTL support. Here is a showcase of the four supported languages:
| English (LTR) | Arabic (RTL) |
|---|---|
![]() | ![]() |
| French | Japanese |
![]() | ![]() |
model, section, layout, common) for horizontal scalability.Start the application using Maven:
mvn package spring-boot:run
The application will be available at http://localhost:8080.
Create an optimized JAR for production:
mvn clean package -Pproduction
The project follows a modular, feature-based architecture:
src/main/java/com/gladtek/vaadin/
data/
model/: Domain records (Feature, Plan, Stat, Testimonial).footer/: Footer configuration records.components/
layout/: Base structural elements (NavBar, AppFooter, LanguageSwitcher).section/: Page building blocks (Hero, Features, Pricing, Testimonials).common/: Reusable cards and UI widgets.views/landing/: Main view logic isolated by feature.services/: Data provider and aggregator services.addClassNames().md:, lg: breakpoints.start and end instead of left and right.Important
To use the Tailwind `@apply` directive in your CSS files, you must use **Vaadin version 25.0.5 or higher**. This ensures that the Vite build pipeline correctly processes Tailwind directives within your stylesheets.
docker run -p 9000:8080 achaabni/vaadin-tailwind-landing:latest
docker build -t vaadin-tailwind-landing:latest .
Run the container:
docker run -p 8080:8080 vaadin-tailwind-landing:latest
Built by Gladtek
Content type
Image
Digest
sha256:02740b200…
Size
70.1 MB
Last updated
14 days ago
docker pull achaabni/vaadin-tailwind-landing