This content originally appeared on DEV Community and was authored by Akash Pattanaik
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
This content originally appeared on DEV Community and was authored by Akash Pattanaik
Akash Pattanaik | Sciencx (2022-01-16T03:32:05+00:00) Leaving electron.js to the past.. Retrieved from https://www.scien.cx/2022/01/16/leaving-electron-js-to-the-past/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.