Typicalc/src/main/java/edu/kit/typicalc/Application.java

26 lines
836 B
Java
Raw Normal View History

2021-01-26 15:05:33 +00:00
package edu.kit.typicalc;
import com.vaadin.flow.component.page.AppShellConfigurator;
import com.vaadin.flow.server.PWA;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.vaadin.artur.helpers.LaunchUtil;
/**
* The entry point of the Spring Boot application.
*
* Use the * and some desktop browsers.
*
*/
@SpringBootApplication
@PWA(name = "Typicalc", shortName = "Typicalc", offlineResources = {"images/logo.png"})
public class Application extends SpringBootServletInitializer implements AppShellConfigurator {
public static void main(String[] args) {
LaunchUtil.launchBrowserInDevelopmentMode(SpringApplication.run(Application.class, args));
}
}