Hello guys.
I’m trying to make my Vaadin App a Progressive Web App. I understand that I have to use the @PWA annotation like this:
@PWA(name = “My Progressive Web Application”, shortName = “MyPWA”)
@Route(“”)
public class MyPWA extends Div {
public MyPWA(){
setText(“Welcome to my PWA”);
}
}
I’ve done that without any luck.
Now I have the following questions:
Do I have to manually create all the resources like: web manifest, service worker, icons, offline page and installation prompt? or Should Vaadin automatically create those resources for me?
I will really appreciate, if someone has a sample project or code that can share with me to take a look.
Regards
Marcel