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
## commands from terminal | |
mkdir my-app | |
cd my-app | |
npm init -y -- creates package.json file with default configurations | |
npm install react react-dom -- install react and react-dom dependencies | |
vim .gitignore -- creates gitigonre file | |
mkdir app --create app folder in your project folder | |
cd app | |
touch index.js index.css -- creates two files in app directory | |
npm install --save-dev @babel/core @babel/preset-env @babel/preset-react webpack webpack-cli webpack-dev-server babel-loader css-loader style-loader html-webpack-plugin -- adding all require depnendincies to the project |