• r5_932629
  • 456.5KB
  • zip
  • 0
  • VIP专享
  • 0
  • 2022-04-17 01:49
Create React App入门 该项目是通过引导的。 可用脚本 在项目目录中,可以运行: yarn start 在开发模式下运行应用程序。 打开在浏览器中查看它。 如果您进行编辑,则页面将重新加载。 您还将在控制台中看到任何棉绒错误。 yarn test 在交互式监视模式下启动测试运行器。 有关更多信息,请参见关于的部分。 yarn build 构建生产到应用程序build文件夹。 它在生产模式下正确捆绑了React,并优化了构建以获得最佳性能。 生成被最小化,并且文件名包括哈希值。 您的应用已准备好进行部署! 有关更多信息,请参见关于的部分。 yarn eject 注意:这是单向操作。 eject ,您将无法返回! 如果您对构建工具和配置选择不满意,则可以随时eject 。 此命令将从项目中删除单个构建依赖项。 相反,它将所有配置文件和传递依赖项(webpack,
# 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: ### `yarn start` Runs the app in the development mode.\ Open [http://localhost:3000](http://localhost:3000) to view it in the browser. The page will reload if you make edits.\ You will also see any lint errors in the console. ### `yarn 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. ### `yarn 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. ### `yarn 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) ### `yarn 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)
    • MaterialUI交互
      该项目是通过。 可用脚本 在项目目录中,可以运行: npm start 在开发模式下运行应用程序。 打开在浏览器中查看。... 而是将所有配置文件和传递依赖项(webpack,Babel,ESLint等)直接复制到您的项目中,以
    • k_builder-webpack5
      KBuilder :: Webpack5 欢迎使用您的新宝石! 在此目录中,您将找到能够将Ruby库打包为gem所需的文件。 将您的Ruby代码放在文件lib/k_builder/webpack5 。 要试验该代码,请运行bin/console进行交互式提示。 待办...
    • React-Express-React-Router-Webpack
      React-Express-React-Router-Webpack 构建简单的Express+React+React-...1: Static HTML elements with event handlers require a role // 给静态HTML元素(非交互元素)添加角色role 解决方案: role="presentation
    • Webpack:Webpack研究
      Webpack 环境构建 Webpack Study 新建项目 npm init 安装webpack npm install -g webpack npm install --save-dev webpack npm install --save-dev webpack-cli 安装webpack本地服务器 npm install --save-dev ...
    • webpack的教材和案例
    • webpack-hot-client:用于启用webpack热模块替换并与之交互的客户端
      启用和与webpack 交互的客户端。 它旨在与协同工作,并允许在不依赖于情况下向现有服务器添加热模块替换。 这对于在已经使用Express或Koa类的服务器框架的项目中进行测试非常方便。 webpack-hot-client通过创建...
    • flourish-embed-template:基本的引导程序,用于在单个交互中嵌入多个Flourish嵌入
      图形模板 引导多个繁荣嵌入的基本模板到单个图形中。 使用Webpack和节点制作。 嵌入代码 [protected-iframe id =“ 999999” info =“ ” height =“ 600”]
    • CoronaMap:Corona交互式地图
      Create React App入门 该项目是通过。 可用脚本 在项目目录中,可以运行: npm start 在开发模式下运行应用程序。 打开在浏览器中查看。 ... 相反,它将所有配置文件和传递依赖项(webpack,Babel
    • webpack-cheatsheet:Ekino Webpack备忘单项目
      Ekino Webpack备忘单项目 该项目尝试提供一个交互webpack.config.js文件,以便快速了解webpack配置文件并对其用法进行调整。 Ekino Webpack备忘单项目已获得。 根据在 。
    • webpack-dev:webpack 项目开发模板
      webpack项目开发模板生成工具 安装 npm install -g webpack-dev 使用 Usage: wdev init|i [name] [path] 根据模板名称生成一个项目到指定目录 Options: -V, --version output the version number ...命令行用户交互