一个新手 问一下基础的vue问题
发布于 8 年前 作者 zly1014363611 5663 次浏览 来自 问答
粉丝福利 : 关注VUE中文社区公众号,回复视频领取粉丝福利

WAIT Compiling…16:12:32

ERROR Failed to compile with 2 errors16:12:33

error in ./src/App.vue

http://eslint.org/docs/rules/key-spacing Missing space before value for key ‘v-header’ E:\webProject\sell\src\App.vue:19:18 ‘v-header’:header ^

✘ 1 problem (1 error, 0 warnings)

Errors: 1 http://eslint.org/docs/rules/key-spacing

@ ./src/main.js 3:0-24 @ multi ./build/dev-client ./src/main.js

error in ./src/components/header/header.vue

Module build failed: Error: Cannot find module ‘stylus’ at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (E:\webProject\sell\node_modules\stylus-loader\index.js:2:14) at Module._compile (module.js:570:32) at Object.Module._extensions…js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at loadLoader (E:\webProject\sell\node_modules\loader-runner\lib\loadLoader.js:13:17) at iteratePitchingLoaders (E:\webProject\sell\node_modules\loader-runner\lib\LoaderRunner.js:169:2) at iteratePitchingLoaders (E:\webProject\sell\node_modules\loader-runner\lib\LoaderRunner.js:165:10) at E:\webProject\sell\node_modules\loader-runner\lib\LoaderRunner.js:173:18

@ ./~/vue-style-loader!./~/css-loader?{“minimize”:false,“sourceMap”:false}!./~/vue-loader/lib/style-compiler?{“id”:“data-v-6bc965e0”,“scoped”:false,“hasInlineConfig”:false}!./~/stylus-loader?{“sourceMap”:false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/header/header.vue 4:14-391 13:3-17:5 14:22-399 @ ./src/components/header/header.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/App.vue @ ./src/App.vue @ ./src/main.js @ multi ./build/dev-client ./src/main.js

这个是什么问题啊 求解

回到顶部