mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-15 21:54:08 +00:00
26 lines
836 B
Java
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));
|
||
|
}
|
||
|
|
||
|
}
|