A ready-to-go template for Electron, React, Typescript and TailwindCSS Application.
WTFPL License
This is a ready-to-go template to build ElectronJS Application by leveraging ReactJS, Typescript and TailwindCSS. Organized file structure pre-defined path aliases further contribute to the developer experience.
react-app-rewired
for customized build setups.Clone the repository:
git clone https://github.com/AshishAntil07/electron-react-ts-tw-template.git
Navigate to the project directory:
cd electron-react-ts-tw-template
Install dependencies:
npm install
To start the development server and open the Electron app:
npm run dev
The development server will be accessible at http://localhost:3000
, and Electron will load the app from this URL.
To create a production build of the React app:
npm run build
Then, you can run Electron with the built files:
npm run electron
To Package the app for distribution:
npm run package
index.html
to allow specific resources. Modify the meta
tag in index.html
if needed.If you would like to contribute to this project, please fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.