使用 electron-react-boilerplate

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
npm start
安装不成功 在根目录加上
.npmrc文件 内容为
electron_mirror=https://npmmirror.com/mirrors/electron/
或者用yarn install 安装
启动成功页面






![[Python人工智能] 五十.PyTorch入门 (5)快速搭建神经网络及模型保存](https://i-blog.csdnimg.cn/blog_migrate/d7f85c976b50a7792f5b855305bcc930.png#pic_center)













