Last active
March 17, 2020 10:32
-
-
Save stephenscaff/cae4652ab7a88007fdb36eaedfd615ff to your computer and use it in GitHub Desktop.
Create React Component with Parcel
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
mkdir component-name && cd component-name | |
npm init -y && git init | |
npm install --save react react-dom | |
npm install --save-dev @babel/core @babel/plugin-proposal-class-properties @babel/preset-env @babel/preset-react parcel-bundler | |
touch .gitignore | |
mkdir src | |
touch src/index.html | |
atom . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment