mirror of
https://github.com/zhigang1992/examples.git
synced 2026-01-12 17:13:21 +08:00
Electron Example
🚨 Electron support is experimental, so the workflow is suboptimal and subject to breaking changes. If you find bugs please report them on expo/expo-cli with the
[electron]tag in the title.
[Electron][electron] is a framework for creating desktop apps that run in a Chromium wrapper. Using Expo with Electron will enable you to use your existing components to build OSX, Windows, and Linux apps.
For more info check out the latest docs!
Running
- Create a new Expo project
expo init - cd into the project and run
yarn add -D @expo/electron-adapter - Now run
yarn expo-electronto bootstrap the project. You can read more about what this does in the docs: Using Electron. - Run
yarn expo-electron startto start the project.