Leaving electron.js to the past. pt-2

Akash Pattnaik - Oct 22 '22 - - Dev Community

Hey there everyone 👋!

If you have seen the part 1 of this article, you are gonna love this one. Take a look at the first article before proceeding with this.


So, I recently started using wails because electron.js was no good on for my pc... I was amazed to see the release build size and speed of the wails app.
It was way smaller and faster than expected.

🦄 Size Comparison

Electron.JS Wails
62.5mb 14.9mb

These are the sized of installers for windows. The project was just a basic hello world displaying page.

So as you can see, Wails is the next desktop framework for webdevs... Electron.JS is nothing compared to Wails.
Wails by default provides various templates for new projects like vanilla.js, react, svelte.js, vue.js and a lot more in the future. The V2 of wails had some ground-breaking changes in it.

Wails works on the go runtime making is way more easier to build and faster to work with.

🐲 Getting started with Wails

This is for windows only, get your OS instructions on wails.io

Finally, use this command to install the wails-cli globally on your shell.

go install github.com/wailsapp/wails/v2/cmd/wails@latest
Enter fullscreen mode Exit fullscreen mode

This will make your ready for developing in wails...

🙍 Connect with me

  • Mail - akashpattnaik.github@gamil.com
  • Github - BLUE-DEVIL1134
  • Twitter - akash_am1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .