Skip to content

jasnsy/base-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base React App

  1. Run these commands
npm init
npm i --save-dev webpack webpack-cli webpack-dev-server
npm i react react-dom
npm i --save-dev babel-loader @babel/preset-env @babel/core @babel/plugin-transform-runtime @babel/preset-react babel-eslint @babel/runtime
  1. Create webpack.config.js
  2. Create .babelrc
  3. Update package.json scripts
  4. Create public/index.html
  5. Create src/index.js AND App.js
  6. Run the following cmd to create the main.js file in public folder
npm run build
  1. Run the following command and it should start up a dev server on localhost:3000
npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors