webpack-cli没被找到:
在webpack4.0之后,需要全局安装webpack-cli,
在全局安装webpack之后,cnpm i webpack-cli -g 在局部使用webpack时无需再安装了
webpack遇见的坑:Please install 'webpack-cli' in addition to webpack itself to use the CLI.
原文地址:https://www.cnblogs.com/jianxian/p/10624904.html
时间: 2024-10-03 22:55:43