Skip to content

Instantly share code, notes, and snippets.

@shotasenga
Created November 10, 2018 06:19
Show Gist options
  • Save shotasenga/de9777356ea3ddca34b835793a3f8bd9 to your computer and use it in GitHub Desktop.
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
# 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