Skip to content

brancwill/build-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build-react-app

Replacement for CRA

  1. In a terminal pointing to the base folder of your project, run the following command:

npm init -y

  1. Use the following commands to install required dependencies:

npm i --save-dev webpack webpack-cli webpack-dev-server babel-loader css-loader style-loader @babel/preset-env @babel/core @babel/plugin-transform-runtime @babel/preset-react @babel/eslint-parser @babel/runtime html-webpack-plugin

npm i react react-dom

  1. Add the following to "package.json":

"scripts": { "start": "webpack-dev-server .", "build": "webpack ." }

  1. Run npm start. It should be all ready to go!

About

Replacement for CRA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published