mirror of
https://github.com/AJMicke/KickerELO.git
synced 2026-03-11 13:31:02 +01:00
Enable PWA
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package org.kickerelo.kickerelo;
|
package org.kickerelo.kickerelo;
|
||||||
|
|
||||||
import com.vaadin.flow.component.page.AppShellConfigurator;
|
import com.vaadin.flow.component.page.AppShellConfigurator;
|
||||||
|
import com.vaadin.flow.server.PWA;
|
||||||
import com.vaadin.flow.theme.Theme;
|
import com.vaadin.flow.theme.Theme;
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
@@ -12,6 +13,8 @@ import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
|||||||
@EntityScan(basePackages = "org.kickerelo.kickerelo.data")
|
@EntityScan(basePackages = "org.kickerelo.kickerelo.data")
|
||||||
@EnableJpaRepositories
|
@EnableJpaRepositories
|
||||||
@Theme("my-theme")
|
@Theme("my-theme")
|
||||||
|
@PWA(name = "Tischkicker-Elo", shortName = "KickerElo",
|
||||||
|
description = "Erlaubt Hinzufügen von Spielständen und Tracking der Spieler Elos für 1 vs 1 und 2 vs 2")
|
||||||
public class KickerEloApplication implements AppShellConfigurator {
|
public class KickerEloApplication implements AppShellConfigurator {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(KickerEloApplication.class, args);
|
SpringApplication.run(KickerEloApplication.class, args);
|
||||||
|
|||||||
Reference in New Issue
Block a user