Typicalc/src/main/java/edu/kit/typicalc/Application.java
2021-01-28 00:06:36 +01:00

26 lines
836 B
Java

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));
}
}