> todos@1.0.0 build /Users/apple/Desktop/todos
> webpack --config webpack webpack.config.js
The CLI moved into a separate package: webpack-cli.
Please install 'webpack-cli' in addition to webpack itself to use the CLI.
> webpack --config webpack webpack.config.js
The CLI moved into a separate package: webpack-cli.
Please install 'webpack-cli' in addition to webpack itself to use the CLI.
2018-03-28
已采纳回答 / qq_覗水翛_0
loader的加载顺序是从右往左。这里的编译顺序是先用css-loader将css代码编译,再交给style-loader插入到网页里面去。所以css-loader在右,style-loader在左。
2018-03-28
安装webpack版本号的正确格式应该是:npm i webpack@^3.10.0,指定的那条提醒没错,但是格式错了,坑死我了
2018-03-27