001package io.jstach.opt.spring.webflux.example; 002 003import org.springframework.boot.SpringApplication; 004import org.springframework.boot.autoconfigure.SpringBootApplication; 005 006import io.jstach.jstache.JStacheConfig; 007import io.jstach.jstache.JStachePath; 008 009/** 010 * Entry point and class that defines shared jstachio config to be imported in other 011 * places with {@link JStacheConfig#using()}. 012 * 013 * @author agentgt 014 */ 015@SpringBootApplication 016@JStachePath(prefix = "views/", suffix = ".mustache") 017public class App { 018 019 /** 020 * To placate JDK 18 javadoc. 021 */ 022 public App() { 023 } 024 025 /** 026 * Canonical entry point that will launch Spring 027 * @param args the command line args 028 */ 029 public static void main(String[] args) { 030 SpringApplication.run(App.class, args); 031 } 032 033}