Skip to content

Instantly share code, notes, and snippets.

View kashyapkaki's full-sized avatar

Kashyap Kaki kashyapkaki

View GitHub Profile
## 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