Matthew James
02/03/2022

Go to the electron-react-boilerplate page and clone to new folder.

git clone --depth 1 --branch main https://github.com/electron-react-boilerplate/electron-react-boilerplate.git your-project-name

Open the newly created forlder and type in yarn to install all the things.

Run yarn start to ensure the project starts up.

Alter the following files to remove the boilerplater names, descriptions and placeholder texts:

Alter the following files to your preference:

I added this override in my last project:

  rules: {
  },
  overrides: [
    {
      files: ['*.tsx'],
      rules: {
        '@typescript-eslint/no-explicit-any': 'off',
      },
    },
  ],
  parserOptions: {

Add a components subfolder to the /src/renderer/ folder.

Remove/replace the JSX from /src/renderer/App.tsx.

DELETE the .git/ folder and run git init in the shell. Otherwise you'll need to follow these steps later on.

Look at the docs for ERB for building and packaging. Most things are simple yarn script commands.