数据提取工具—electron+react

上传者: 40541945 | 上传时间: 2022-04-06 02:40:58 | 文件大小: 160KB | 文件类型: RAR
1、用electron+react制作的一个数据提取工具,react渲染页面,electron主线程调用本地sqlite数据库 2、数据和依赖包删除了,测试的时候自行添加数据与依赖 3、开发测试,首先用npm start 启动react 然后再用electron .启用electron,修改代码后,electron测试页面会自动刷新 4、react页面因为引入了electron的代码不会显示内容 5、打包时候,先用npm run build 打包react,electron的main.js和preload.js会随着public文件进入build文件,然后将main.js文件中的 mainWindow.loadURL("127.0.0.1:3000") 改为 mainWindow.loadFile("index.html"), 安装electron 然后打包

文件下载

资源详情

[{"title":"( 25 个子文件 160KB ) 数据提取工具—electron+react","children":[{"title":"package.json <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"data","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 1.07MB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"App.css <span style='color:#111;'> 348B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 529B </span>","children":null,"spread":false},{"title":"reportWebVitals.js <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"logo.svg <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"App.test.js <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"setupTests.js <span style='color:#111;'> 241B </span>","children":null,"spread":false},{"title":"compenent","children":[{"title":"classify","children":[{"title":"index.js <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"selector01","children":[{"title":"index.js <span style='color:#111;'> 546B </span>","children":null,"spread":false}],"spread":true},{"title":"dateselector","children":[{"title":"index.js <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"index.css <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"selector02","children":[{"title":"index.js <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"App.js <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"index.css <span style='color:#111;'> 366B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 310B </span>","children":null,"spread":false},{"title":"public","children":[{"title":"logo192.png <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false},{"title":"preload.js <span style='color:#111;'> 235B </span>","children":null,"spread":false},{"title":"manifest.json <span style='color:#111;'> 492B </span>","children":null,"spread":false},{"title":"robots.txt <span style='color:#111;'> 67B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"main.js <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"logo512.png <span style='color:#111;'> 9.44KB </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明