React CRUV - 4 directories to solve project structure for good
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create-react-app myapp | |
cd myapp/src | |
mkdir containers routes utils views | |
touch config.js contexts.js | |
mv App.* routes | |
sed -i '' -e 's/.\/App/.\/routes\/App/g' index.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment