I want to use plain html views in a JHipster project as a landing page. Is there a best practice for a Spring-Boot controller? My goal is to use a non-angular html page for the path "/". The angular-index.html is loaded automatically by spring boot defaults. I do not understand how i can make use this autoconfiguration of spring boot and at the same time have a non-angular view for the path "/".
@RequestMapping("/")
public String hi() {
return "hi";
}
This is the method to render the "hi.html" view, located in /resources/templates. The view is displayed correctly but i can not address the angular app anymore (ex. /home).