Package io.jstach.opt.spring.webflux.example
@JStacheConfig(using=App.class)
package io.jstach.opt.spring.webflux.example
Spring Boot MVC application using JStachio.
Application has the following:
- Controller
- Model
- io.jstach.opt.spring.webflux.example.hello.HelloModelView (jstachio generated renderer)
- Bean configuration
- Web configuration
This package is only exported for documenting the Spring Example. In a real world app you probably would not export a package like this.
-
ClassDescriptionEntry point and class that defines shared jstachio config to be imported in other places with
JStacheConfig.using()
.Configures JStachio Spring style.Configures WebFlux usingJStachioEncoder
to allow returning models which will be rendered using JStachio runtime.