Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

parameter98/Vite-Electron-Template

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • TypeScript 68.5%
  • CSS 22.2%
  • JavaScript 5.6%
  • HTML 3.7%

AltStyle によって変換されたページ (->オリジナル) /