Skip to content

About

Electron template using Vite, React v19, Typescript, TailWindCSS v4 and ShadCN. Includes hot reloading, typesafe IPC and typesafe events

Topics

Resources

Stars

37 stars

Watchers

1 watching

Forks

Repository files navigation

Electron + Vite + React + Typescript + TailWindCSS + ShadCN

This is an Electron template using Vite, React, Typescript, TailWindCSS and ShadCN. It includes hot reloading, IPC type-safety and general security.

Project Setup

It works on Windows but I haven't tested it on neither Linux nor Mac

  1. Clone the repository
  2. Change the .env.example file to .env
  3. Run npm install inside the cloned repository
  4. Run the app to see if everything is working.

For development

  1. Starting the application - Run npm run dev - This starts the application as well as a local server on port 3524
  2. Changing the port - You can change the server port at the .env file.

For production

  1. To create a production for Windows run npm run dist:win
  2. To create a production for Linux run npm run dist:linux
  3. To create a production for Mac run npm run dist:mac

I hope you find this template useful!

If you want to support me you can-

Follow on X

About

Electron template using Vite, React v19, Typescript, TailWindCSS v4 and ShadCN. Includes hot reloading, typesafe IPC and typesafe events

Topics

Resources

Stars

37 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages