Skip to content

preciousokwu/react-webpack-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react_webpack_template

3 simple steps

  1. Clone or download the react_webpack_template repo
  2. run "npm install"
  3. run "npm start"

This project help you eliminate the stress involved in creating a new react app using webpack it already has the dependencies needed for setting up a new react app all you just have to do is to install the dependencies It contains the

----package.json file
----webpack.config.js file

After download run "npm   install " in the folder

The dependencies  will now be installed

Folder Structure

---The /src folder contains /app folder and index.html file  
---The src/app folder contains the index.js  file which is the javascript file that should contain your code.

Compilation

After the dependencies   have finished installing  run "npm   start " in the folder
---This src/app/index.js   and the src/index.html files are complied  to dist/app/bundle.js  and dist/index.html

NB : bundled.js file has already been linked in theindex.html

The application can be previewed in your browser by navigating to http://localhost:8080

About

basic react webpack template and configurations to get you started with a react project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published