摘要: 链接 将create-react-app与electron集成在了一个项目中。但是在React中无法使用electron 当在React中使用require('electron')时就会报TypeError: fs.existsSync is not a function的错误。因为React中无法 阅读全文
posted @ 2018-08-25 17:23 高中国流 阅读(4633) 评论(1) 推荐(0) 编辑
摘要: index.html main.js package.json { "name": "demo", "version": "1.0.0", "description": "", "main": "main.js", "scripts": { "test": "echo \"Error: no tes 阅读全文
posted @ 2018-08-25 15:56 高中国流 阅读(213) 评论(0) 推荐(0) 编辑