This is an Electron template using Vite, React, Typescript, TailWindCSS and ShadCN. It includes hot reloading, IPC type-safety and general security.
- Clone the repository
- Change the
.env.examplefile to.env - Run
npm installinside the cloned repository - Run the app to see if everything is working.
- Starting the application - Run
npm run dev- This starts the application as well as a local server on port3524 - Changing the port - You can change the server port at the
.envfile.
- To create a production for Windows run
npm run dist:win - To create a production for Linux run
npm run dist:linux - 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-