With no web app yet, the Ionic 20,753 team's generator makes a minimal one with Capacitor 243,123 wired in: @capacitor/create-app (github.com/ionic-team/create-capacitor-app (https://github.com/ionic-team/create-capacitor-app 8 ), version 0.5.1). Arguments after the lone -- go to the generator, not to npm 2,036 :
npm init @capacitor/app@latest newapp -- --name NewApp --app-id com.example.newapp
cd newapp
find . -type f | sort🎉 Your Capacitor app is ready to go! 🎉 ... ./capacitor.config.json ./package.json ... ./src/index.html ./src/js/capacitor-welcome.js ...
You get a framework-free Vite 25,978 project: one Web Component (<capacitor-welcome>), a vite.config.ts that builds src/ into dist/, and a JSON config with webDir: "dist" and a SplashScreen block. Run npm install and npm run build, then add a platform. Before you commit, replace each "latest" in package.json with the version npm installed, so every clone builds the same app. Framework7 572,986 and Ionic Framework starters come from their own CLIs (Ionic Framework).