First, let's set up the counter application example:
- Unzip the counter application example in chapter11_1.zip.
- Then, run the following command to install all dependencies:
npm install
- Afterward, we can start the application using the following command:
npm start
This will start the webpack-dev-server on http://localhost:8080.
- Open http://localhost:8080/ in your browser, and you should see the application from the screenshot given in the preceding section.