Electron React Boilerplate uses <ahref="https://electron.atom.io/">Electron</a>, <ahref="https://facebook.github.io/react/">React</a>, <ahref="https://github.com/reactjs/react-router">React Router</a>, <ahref="https://webpack.js.org/">Webpack</a> and <ahref="https://www.npmjs.com/package/react-refresh">React Fast Refresh</a>.
git clone --depth 1 --branch main https://github.com/electron-react-boilerplate/electron-react-boilerplate.git your-project-name
cnpm install
cd your-project-name
npm install
```
```
**Having issues installing? See our [debugging guide](https://github.com/electron-react-boilerplate/electron-react-boilerplate/issues/400)**
## 启动
## Starting Development
Start the app in the `dev` environment:
```bash
```bash
npm start
npm run start
```
```
## Packaging for Production
## 打包
To package apps for the local platform:
```bash
```bash
npm run package
npm run package
```
```
## Docs
打包过程中会出现 electron 的原型包无法下载的问题。因为网络原因 故需要手动下载安装包 然后存放在 .../\AppData\Local\electron\Cache\ 下
See our [docs and guides here](https://electron-react-boilerplate.js.org/docs/installation)
## Community
Join our Discord: https://discord.gg/Fjy3vfgy5q
## Donations
**Donations will ensure the following:**
- 🔨 Long term maintenance of the project
- 🛣 Progress on the [roadmap](https://electron-react-boilerplate.js.org/docs/roadmap)
- 🐛 Quick responses to bug reports and help requests
## Backers
Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/electron-react-boilerplate-594#backer)]
Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/electron-react-boilerplate-594-594#sponsor)]