Skip to content

This is a sample app to understand webpack using react with hot loading.

Notifications You must be signed in to change notification settings

Ajaybhardwaj7/webpack-react-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-react-sample

This is a sample app to understand webpack using react with hot loading.

Step 1 : Install all node dependenices in package.json using npm install.

Step 2 : Run 'npm run build' cmd. This will run webpack and create the bundle file.

Step 3 : Run 'npm run start' cmd. This will create the web dev server at the defined port.

Now any changes to the main.js file will auto refresh the browser with new changes.

The server is running at localhost:3000

#Ignore dist folder for the time being. As this can be used to create multiple bundle file. Pls try on your own!

About

This is a sample app to understand webpack using react with hot loading.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages