# Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
The page will reload when you make changes.\
You may also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### Making a Progressive Web App
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` fails to minify
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
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 然后打包
资源详情
资源评论
资源推荐
收起资源包目录
electron-react.rar (25个子文件)
package.json 1KB
data
package-lock.json 1.07MB
src
App.css 348B
index.js 529B
reportWebVitals.js 362B
logo.svg 3KB
App.test.js 246B
setupTests.js 241B
compenent
classify
index.js 2KB
selector01
index.js 546B
dateselector
index.js 2KB
index.css 0B
selector02
index.js 2KB
App.js 3KB
index.css 366B
.gitignore 310B
public
logo192.png 5KB
preload.js 235B
manifest.json 492B
robots.txt 67B
index.html 2KB
main.js 3KB
logo512.png 9KB
favicon.ico 4KB
README.md 3KB
共 25 条
- 1
weixin_40541945
- 粉丝: 4
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0