webpack dev server version code example
Example 1: npm webpackdev server
npm install webpack-dev-server --save-dev
Example 2: npm dev server
$ npm install dev-server -g
npm install webpack-dev-server --save-dev
$ npm install dev-server -g