Skip to content

palettedev/erb-palette-example

Repository files navigation

erb-palette-example

An example of electron-react-boilerplate using Palette.

Setup

git clone https://github.com/amilajack/erb-palette-example
cd erb-palette-example
npm install
npm start

Getting Started

  1. Replace YOUR_CLIENT_KEY with your Client Key , which you can find at palette.dev/{your-username}/{your-project}/settings.

  2. Build and run the app. Palette only reports metrics in production.

npm run package
open release/build/mac/ElectronReact.app
  1. Review this commit for the palette-related changes.

The important changes are in App.tsx and main.ts.