Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/umbrella22/electron-react-template
An Electron & React quick start
https://github.com/umbrella22/electron-react-template
antdesign axios electron electron-react-typescript-template nodejs react vite
Last synced: about 2 months ago
JSON representation
An Electron & React quick start
- Host: GitHub
- URL: https://github.com/umbrella22/electron-react-template
- Owner: umbrella22
- License: other
- Created: 2020-11-29T12:44:11.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-04T04:52:19.000Z (over 1 year ago)
- Last Synced: 2024-10-29T15:15:01.512Z (about 2 months ago)
- Topics: antdesign, axios, electron, electron-react-typescript-template, nodejs, react, vite
- Language: TypeScript
- Homepage:
- Size: 1.66 MB
- Stars: 20
- Watchers: 2
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Electron-React-template
#### How to use
``` bash
npm install or yarn installnpm run dev or yarn dev
# 启动之后,会在9080端口监听
# 需要重新运行一次此命令
npm run dev# build命令在不同系统环境中,需要的的不一样,需要自己根据自身环境进行配置
npm run build# 如若实在不行无法安装electron依赖,请使用
npm config edit
# 该命令会打开npm的配置文件,请在registry=https://registry.npm.taobao.org/这行代码后的下一行添加
# electron_mirror=https://cdn.npm.taobao.org/dist/electron/ 和 ELECTRON_BUILDER_BINARIES_MIRROR=http://npm.taobao.org/mirrors/electron-builder-binaries/
# 然后关闭该窗口,重启命令行,删除node_modules文件夹,并重新安装依赖即可```
---