基于electron react boilerplate增加一些自己用的模块
- state//store: valtio(createState)
- ui: fluentui (v8/v9样式兼容)
- hooks: huse + ahooks
- nodeIntegration: 默认直接开启
- global toaster
- big components: handsontable + rjsf
- css in js: styled-components
Electron React Boilerplate uses Electron, React, React Router, Webpack and React Fast Refresh.
Clone the repo and install dependencies:
git clone --depth 1 --branch main https://github.com/electron-react-boilerplate/electron-react-boilerplate.git your-project-name
cd your-project-name
npm install
Having issues installing? See our debugging guide
Start the app in the dev
environment:
npm start
To package apps for the local platform:
npm run package
See our docs and guides here
Join our Discord: https://discord.gg/Fjy3vfgy5q