so now it is whether webpack can be used and how to complete the installation and normal use of webpack! Please give us your advice.
so now it is whether webpack can be used and how to complete the installation and normal use of webpack! Please give us your advice.
cnpm install-g webpack@3
the novice tutorials on the Internet should be aimed at v3, so you should install V3
this is webpack4.0. You need to install webpack-cli globally
according to his hint, npm install webpack-cli-D is also useless
npm install webpack-cli -g