How to install the webpack-dev-server? corresponding to the specified version of webpack

now you are working on a project with webpack@3.10.0, and you need to install webpack-dev-server.

if I install npm I webpack-dev-server directly, I will install the latest version of webpack-dev-server, and remind me to update webpack above version 4.

and I don"t want to change the webpack version of the project, so how do I install it? I don"t know which version to install.

The latest webpack-dev-server corresponding to

webpack3 is 2.11.3
clipboard.png


https://www.npmjs.com/package... Current Tags:

clipboard.png

.

generally specify a version with @ version number after installation, such as: npm i webpack-dev-server@3.1.9, version number address: webpack-dev-server

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bea730-319e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bea730-319e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?