This dependency was not found:* !!vue-style-loader!css-loader?{"minimize"...的解决方案
This dependency was not found:* !!vue-style-loader!css-loader?{"minimize":false,"sourceMap":false}!../../node_modules/vue-loader/lib/style-compiler/index?{"vue":true,&quo
·
This dependency was not found:
* !!vue-style-loader!css-loader?{"minimize":false,"sourceMap":false}!../../node_modules/vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-1d57e5ea","scoped":false,"hasInlineConfig":false}!stylus-loader?{"sourceMap":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./a.vue in ./src/components/a.vue
To install it, you can run: npm install --save !!vue-style-loader!css-loader?{"minimize":false,"sourceMap":false}!../../node_modules/vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-1d57e5ea","scoped":false,"hasInlineConfig":false}!stylus-loader?{"sourceMap":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./a.vue
这种情况是因为依赖没有找到,需要npm install椅子啊这些依赖,所以执行以下命令应该就可以
$npm install stylus stylus-loader css-loader style-loader –save-dev
执行之后重新npm run dev
对于package.json中devDependencies 和 dependencies 的区别可以去看一下另一篇博文
希望能够解决你们的问题
更多推荐
已为社区贡献1条内容
所有评论(0)