Open milian221 opened 7 years ago
vue-bulma-quill/src/Quill.vue
模板有 lang=styl
解析error 为什么 会自动加载 styl-loader
npm install --save !!vue-style-loader!css-loader?sourceMap!../../vue-loader/lib/style-rewriter?{"id":"data-v-c90601f4","scoped":false,"hasInlineConfig":true}!styl-loader!../../vue-loader/lib/selector?type=styles&index=0!
好像是因为 styl-loader!../../vue-loader/lib/selector?type=styles&index=0!
styl-loader
找不到 为什么会加载styl-loader
Should install
"stylus": "^0.54.5",
"stylus-loader": "^2.4.0"
See https://github.com/vuejs/vue-hackernews-2.0/blob/master/build/webpack.client.config.js#L37-L42.
@fundon
stylus:0.54.5
stylus-loader: 2.5.0
版本是满足的 . 是不是因为laravel-min
使用 webpack module.rules[]
配置选项了呢?
@fundon 是这样的!! rules配置 覆盖了 loaders配置 但是出现 #118 一样的问题了
WIndows10
$ node@v7.7.1
$ npm@4.1.2
$ webpack@2.2.1
都试过了还是不行 #
$ npm update -d
npm info it worked if it ends with ok
npm info using npm@4.1.2
npm info using node@v7.7.1
......
+-- babel-loader@6.4.0
+-- css-loader@0.26.4
+-- eslint@3.17.1
+-- eslint-config-standard@7.0.1
+-- express@4.15.2
+-- plotly.js@1.24.1
+-- sass-loader@6.0.3
+-- stylus-loader@2.5.1
+-- vue@2.2.2
`-- vue-template-compiler@2.2.2
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm info ok
@fundon @tylerjheslop 完美解决了 谢谢你们
@fundon 有遇到过这错误么 是我 webpack 配置出错了 还是版本组件冲突?