capacitor-tauri
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.1 • Public • Published


Bring your Capacitor ⚡ apps to the desktop with 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


Mike Summerfeldt

💻 📖

Package Sidebar

Install

npm i capacitor-tauri

Weekly Downloads

2

Version

1.0.0-beta.1

License

MIT

Unpacked Size

747 kB

Total Files

7

Last publish

Collaborators

  • deskbtm