To build on https://html2app.dev/
This example uses the plugins @capacitor/app@4
and @capacitor/toast@4
.
Either download the apk (for android) or build it yourself:
# install dependencies
npm i
# build
npx -y esbuild www/index.js --bundle --outfile=www/bundle.js
# zip all files
(linux/macos) zip -r app.zip www config.json
(windows) tar.exe -acvf app.zip www config.json
# now upload app.zip to https://html2app.dev/