2. Create Main Structure
Create the main structure
Let's structure the project as follows:
assets/: to keep all the styles and images
app/: for the App component and Routing
components/: for reusable React components
features/: to group React components by feature
utils/: to keep the helper functions
Let's create the assets/, app/, components/, utils/ and features/ folders in the src/ folder. And move the App.js, App.css and App.test.js in the src/app/ folder.
The src/ folder structure should now look like this:
Assets
Unzip folder and paste the files into the assets/ folder.
The images/ and the styles/ folder should look like this:
Install the node-sass to use Sass and SCSS:
And add this line in the index.js:
Also, include the material icons in the index.html file which is located in the public/ folder:
Last updated
Was this helpful?