npm install -g cra-clean
cra-clean app-name
here app-name is the name of your app
- This package gives additional functionalities to the existing create-react-app
- clean-react-app installs the necessary packages for routing by default
- It also has a file named routes.js with all functionalities of routes setup
- It removes the the react logo and default styles on app.js so that the user dont have to do that manually