- Create React App 2 Quick Start Guide
- Brandon Richey
- 227字
- 2021-07-02 12:53:25
The yarn eject command
Removes Create React App scripts and preset configurations and copies build dependencies, configuration files, and scripts into the app directory. If you do this, you can't go back to using Create React App on your project!
For this one, it is worth taking a look at what the documentation says for this command. In layman's terms, this turns your project from a Create React App project, turns it into a Webpack configuration, and removes a lot of details of Create React App and the React Scripts project that essentially hides some of the details from you. A similar concept would be buying a computer pre-built versus assembling it yourself (or reassembling it). You may start off wanting everything all put together for you, but maybe some day you'll want to add some more RAM or replace the video card, at which point you'll have to open up what was previously a black box to enable you to configure things further!
This is also something you might do if you need to go outside of the confines of the default project structure and configuration that you get from a base project. This will allow you to turn it back into a standard Webpack project and add new libraries, change the defaults and baseline details, or go even further and swap out other core components.
- 自然語言處理實戰:預訓練模型應用及其產品化
- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- PySide GUI Application Development(Second Edition)
- Mastering Apache Spark 2.x(Second Edition)
- SharePoint Development with the SharePoint Framework
- Protocol-Oriented Programming with Swift
- C語言程序設計
- Visual Foxpro 9.0數據庫程序設計教程
- HTML+CSS+JavaScript網頁設計從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- 大學計算機基礎
- Flink技術內幕:架構設計與實現原理
- 零基礎學C++(升級版)
- Deep Learning for Natural Language Processing
- Mastering ASP.NET Core 2.0
- C語言程序設計教程