我运行npm run serve后出现了以下错误:
in ./src/components/site-checker/insert-model.vue?vue&type=style&index=0&lang=stylus&
Syntax Error: ValidationError: Invalid options object. Stylus Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'preferPathResolver'. These properties are valid:
object { stylusOptions?, sourceMap?, webpackImporter?, additionalData? }
我正在使用以下技术栈的VueJS框架:
[Vue 2] babel、router、vuex和Vue CLI v4.5.8。
stylus-loader@4.3.1 + stylus@0.54.8
- moonris