DEV Community

Discussion on: Setting up React Project from Scratch

Collapse
 
aakarshak profile image
Aakarshak Sthapak

Nice Post.
Just wanted to add the below code Will throw an error on Webpack v4.
"scripts": {
"start:dev": "webpack-dev-server"
},

you need to change it to:
"scripts": {
"start:dev": "webpack serve"
},

Collapse
 
raviojha profile image
Ravi Ojha

Corrected it Aakarshak.
Thanks a lot.

Collapse
 
raviojha profile image
Ravi Ojha

Thanks, Will check that.