Created
November 10, 2018 06:19
-
-
Save shotasenga/de9777356ea3ddca34b835793a3f8bd9 to your computer and use it in GitHub Desktop.
quick up and running new React application by using create-react-app with PNP
This file contains hidden or 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
# reactup new-awesome-react-app | |
# 1. it ceates a new react application | |
# 2. move to the directory | |
# 3. open it in VSCode | |
# 4. run it | |
function reactup | |
npx create-react-app $argv --use-pnp | |
cd $argv[0] | |
code .q | |
yarn start | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment