So, I recently started using tauri
because electron.js was no longer working on my pc... I was amazed to see the release build size of the tauri
app.
It was way smaller than expected.
Size Comparison
Electron.JS | Tauri |
---|---|
62.5 mb |
4.32 mb |
These are the sized of installers for windows. The project was just a basic
hello world
displaying page.
So as you can see, Tauri
is the next desktop framework for webdevs... Electron.JS
is nothing compared to Tauri
.
Tauri
by default provides various templates for new projects like vanilla.js
, react
, svelte.js
, vue.js
and a lot more in the future. The tauri
devs are also working on bringing Tauri
to Android
and IOS
.
Tauri
depends upon Microsoft Edge Runtime2
and not bulky core apps like Electron.JS
depends on chromium
.
Getting started with Tauri
This is for windows only, get your OS instructions on tauri.studio
- Install
Microsoft Visual Studio C++ Build Tools
From Here - Install
Node.JS
- Install
Rust
- Finally, Install
WebView2
This will make your ready for developing in tauri...
For Further Understanding, Check Out The Docs