webpack全局安装,具体项目中才能使用webpack命令: npm install webpack -g 转载于:https://www.cnblogs.com/cag2050/p/5913978.html