Forked capacitor-community/tauri
Bring your Capacitor ⚡ apps to the desktop with Tauri! 🖥
- Please follow your operating systems guide to setup your environment for Tauri development here
- You will need
@capacitor/core
version>= 5.0.0
.
- Create or open a Capacitor initialized web app project. CAPACITOR DOCS
npm i capacitor-tauri
npx cap add capacitor-tauri
- Add path
tauri
to package manager workspace thennpm i
- Start web app dev server, you can change the devPath in
tauri/src-tauri/tauri.conf.json
, npx cap open capacitor-tauri
- This can take several minutes the first time you run it.- You now have your web app running in tauri, right click and select
inspect
to bring up dev tools.
- Build web app. Note the output path and
tauri.conf.json
distDir cd tauri && npm run build
For more details
Mike Summerfeldt 💻 📖 |