npm run dev-server 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