Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 535 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 535 Bytes

Setting up react from scratch without using CRA

Install react & react-dom

npm install --save react react-dom

Install webpack

npm install --save-dev webpack webpack-cli webpack-dev-server html-webpack-plugin

Install babel

npm install --save-dev @babel/core @babel/preset-env @babel/preset-react babel-loader

configure webpack using webpack.config.js

Also configure babel using .babelrc