capacitor-tauri

Capacitor community support for the Tauri platform.

MIT License

Downloads
7
Stars
8

Forked capacitor-community/tauri

⚠ Nota Bene

  • Please follow your operating systems guide to setup your environment for Tauri development here
  • You will need @capacitor/core version >= 5.0.0.

⏳ Quick start (Functioning on: Windows, MacOS, Linux)

  1. Create or open a Capacitor initialized web app project. CAPACITOR DOCS
  2. npm i capacitor-tauri
  3. npx cap add capacitor-tauri
  4. Add path tauri to package manager workspace then npm i
  5. Start web app dev server, you can change the devPath in tauri/src-tauri/tauri.conf.json ,
  6. npx cap open capacitor-tauri - This can take several minutes the first time you run it.
  7. You now have your web app running in tauri, right click and select inspect to bring up dev tools.

🚧 Building release

  1. Build web app. Note the output path and tauri.conf.json distDir
  2. cd tauri && npm run build

For more details

🎉 More info

✨ Contributors

Package Rankings
Top 21.4% on Npmjs.org
Badges
Extracted from project README
X (formerly Twitter) Follow
Related Projects