Everything you need to start using webpack is all setup and ready to use just run the following commands to get started:
Get started by copying and pasting the following in your terminal:
- 1
git clone git@github.com:Tchilo/webpack.git
- 2
cd webpack
- 3
npm install
- 4
This will generate a dist folder you never edit what is in there.
npm run build
- 5
npm start
The browser will open and you should see this text : "Let's Make it Happen!", if this is not the case please stay calm and simply open your browser and paste this.
http://localhost:3000
- 6
You can start editing the files in the "src" folder
if you are interested in learning more about webpack click the link below