npx electron-react-ts my-app
cd my-app
npm start
Popup with the text 'Hello electron' and 'Hello, react!'
Setting up an Electron app with React and TypeScript by Keevan Dance
- Fixed 'Uncaught ReferenceError: require is not defined' error
- Change folder and file structure
- Change imports