Skip to content

LiftOffLLC/boot-reactweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started with Webpack

Refer to webpack documentation

Step 1:

npm run webpack

open index.html in browser.

Step 2:

  1. Create file content.js
  2. Update entry.js

run npm webpack

Step 3: Introducing Style

  1. Create style.css
  2. Update entry.css

run npm install css-loader style-loader --save-dev

run npm run webpack

Step 4: Introduce webpack.config.js

  1. Add webpack.config.js
  2. remove style pre processor from entry.js
  3. Update package.json

run npm run webpack

Step 5: Configure webpack-dev-server

run npm install webpack-dev-server --save-dev

Update package.json

Integrating React

  1. Update package.json with necessary react dependencies
  2. Update content.js
  3. Update webpack config
  4. create .bablerc

#Cleaning up

About

ReactJS integration with Mongo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published