Skip to content

The former was simple right. However, let's learn how we can set up our React App from scratch.

Notifications You must be signed in to change notification settings

Umesh-Goslar/Blog-Basic-React-Scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Author : "Umesh G",
  • Create React App using Webpack, Webpack Dev Server and Babel from scratch

Step 1: Create package.json file

  • npm init

Step 2: Install react and react-dom

  • npm i react react-dom ,
  • npm i react react-scripts,
  • npm install node-sass,

Step 3: Create directories and files for the project

  • mkdir src public
  • touch src/index.js src/App.js public/index.html

Step 4: Create a React Component src/App.js

Step 5: Create a div#root inside public/index.html

Step 6: Insert App.js component into the DOM

Step 7: Add scripts and browserslist in the package.json

Step 8: npm install

Step 9: npm start

About

The former was simple right. However, let's learn how we can set up our React App from scratch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published