- Install deps
NOTE:
You shoude execute
npm installcommand in parent folder first. Then run this command once again inexamples/folder.
npm install- Start server
npm start- Open page in browser http://localhost:1616
- Open the developer console
- Edit
client.js& save - Watch the page reload
- Also try making a syntax error in
client.js.
There is also an example for multiple entry points in webpack.
npm run start:multientry- Open page in browser http://localhost:1616/multientry
- Edit
client.jsorextra.js& save