An experiment in creating an Electron app in TypeScript to be a ToDos app!
In order to build the code you need to have:
To build and run the code:
yarn install
yarn run start
Included within the repository are the configuration to work within Visual Studio Code. You should be able to build and run within the editor. The following extensions are recommended:
- TSLint (adds real time linting of TypeScript)
- JavaScript Standard Style (adds eal time linting via StandardJS)
- Debugger for Chrome (allows debugging of the renderer process)
- yarn (allows running of yarn commands within the Command Palette)
This is a pretty opinionated way of laying out an Electron application.
The main process entry point is src/host/main.ts
.
Each sepearte page is represented by a tsx
file in src/gui