24 lines
738 B
Java
24 lines
738 B
Java
package com.example;
|
|
|
|
import com.vaadin.flow.theme.aura.Aura;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import com.vaadin.flow.component.dependency.StyleSheet;
|
|
import com.vaadin.flow.component.page.AppShellConfigurator;
|
|
import com.vaadin.flow.component.page.Push;
|
|
import com.vaadin.flow.server.PWA;
|
|
|
|
@SpringBootApplication
|
|
@StyleSheet(Aura.STYLESHEET)
|
|
@StyleSheet("styles.css") // Your custom styles
|
|
@Push
|
|
@PWA(name = "Dialect Charts", shortName = "Dialect", offlinePath = "offline.html")
|
|
public class Application implements AppShellConfigurator {
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(Application.class, args);
|
|
}
|
|
|
|
}
|