Skip to content

mriiad/react-webpack-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

creating a simple react app using Webpack

Objective: Get the same result as the command 'npx create-react-app' using webpack configuration

First step

Create an empty project.
launch the command: 'npm init -y'
Install React and ReactDOM: 'npm i react react-dom'
Install Babel: 'npm i -D @babel/core @babel/preset-env @babel/preset-react babel-loader'
Install Webpack: 'npm i -D webpack webpack-cli'
Install Webpack loaders: 'npm i -D babel-loader file-loader css-loader style-loader'
Install Webpack dev server: 'npm i webpack-dev-server'

About

A simple react app using webpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published