Module io.jstach.opt.spring.example
Package io.jstach.opt.spring.example.hello
@JStacheConfig(naming=@JStacheName(suffix="View"))
package io.jstach.opt.spring.example.hello
Spring Boot MVC components using JStachio.
Has the following:
- Controller
- Model
- io.jstach.opt.spring.example.HelloModelView (jstachio generated renderer)
annotations
on this module as they define the jstachio config
needed to integrate with Spring.
This is because much of JStachio config is not runtime driven but compile
time driven.
This package is only exported for documenting the Spring Example. In a real world app you probably would not export a package like this.
-
ClassDescriptionExample hello world controller using different ways to use JStachio for web development.Model using a resource template that is in src/main/resources/views.Model that implements
JStachioModelView
using a resource template that is in src/main/resources/views.Generated Renderer.Generated Renderer.