Hilla + Capacitor?

Hi! I’ll continue from my previous thread “Thinking of choosing Hilla for our next project”.

In theory there should be now issue wrapping Hilla PWA with Capacitor for a “native application”. Has anyone done this in practice and did you encounter any difficulties while doing it?


I did some quick testing and looks like the webDir should be set to target/classes/META-INF/VAADIN/webapp in capacitor.config.ts

Build the project mvn package -Pproduction and run npx cap sync to sync frontend files properly.

Test by running npx cap run ios .