Skip to content

React-Delhi-NCR/meetup-02-react-16-NPM-create-your-own-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meetup-02-react-16-NPM-create-your-own-library

Requirements

  • Node JS / NPM
  • Python 3 (for starting demo server)

Building the project

Run npm install to install the project's dependencies. Once done, run npm start to build the demo app and start the server. Open http://localhost:9000/ to view the demo.

Making code changes

Once demo page is working fine and you have understood how the project works, go ahead and make some code changes in demo\src\app.js to see them on demo page. Do run below commands to build/watch your project using webpack.

  • Run npm run watch to let Webpack watch files and automatically create build when files are changed
  • Run npm run build to let Webpack build files and exit

Details

https://www.meetup.com/React-Delhi-NCR/events/254373998/