🔌REACT

To set up your project, follow these steps:

  1. Navigate to Your Project Directory:

    Open your terminal and change the directory to your project's location:

Install Project Dependencies:

Run the following command to install the dependencies specified in your package.json file:

Install CRACO:

CRACO (Create React App Configuration Override) allows you to customize your Create React App configuration without ejecting. Install it as a development dependency:

  • Note: Ensure that the version of CRACO you install is compatible with your version of react-scripts. For example, CRACO version 7.x is compatible with react-scripts 5.x.x.

    Cracoarrow-up-right

  • Install Webpack and Loaders:

    To handle SCSS files and inject CSS into the DOM, install the necessary loaders and Webpack:

Last updated