vue_webpack@1.0.0 /Users/ezreally/WebstormProjects/vue_webpack
+-- UNMET PEER DEPENDENCY babel-core@^6.8.0
+-- UNMET PEER DEPENDENCY babel-loader@^6.2.4
+-- UNMET PEER DEPENDENCY babel-plugin-transform-runtime@^6.8.0
+-- UNMET PEER DEPENDENCY babel-preset-es2015@^6.6.0
+-- UNMET PEER DEPENDENCY babel-runtime@^6.0.0
+-- UNMET PEER DEPENDENCY css-loader@*
+-- UNMET PEER DEPENDENCY vue-hot-reload-api@^1.2.0
+-- UNMET PEER DEPENDENCY vue-html-loader@^1.0.0
+-- vue-loader@8.5.2 extraneous
`-- UNMET PEER DEPENDENCY vue-style-loader@^1.0.0
npm WARN vue-loader@8.5.2 requires a peer of babel-loader@^6.2.4 but none was installed.
npm WARN vue-loader@8.5.2 requires a peer of babel-core@^6.8.0 but none was installed.
npm WARN vue-loader@8.5.2 requires a peer of babel-plugin-transform-runtime@^6.8.0 but none was installed.
npm WARN vue-loader@8.5.2 requires a peer of babel-runtime@^6.0.0 but none was installed.
npm WARN vue-loader@8.5.2 requires a peer of babel-preset-es2015@^6.6.0 but none was installed.
npm WARN vue-loader@8.5.2 requires a peer of css-loader@* but none was installed.
npm WARN vue-loader@8.5.2 requires a peer of vue-html-loader@^1.0.0 but none was installed.
npm WARN vue-loader@8.5.2 requires a peer of vue-style-loader@^1.0.0 but none was installed.
npm WARN vue-loader@8.5.2 requires a peer of vue-hot-reload-api@^1.2.0 but none was installed.
npm WARN vue_webpack@1.0.0 No description
npm WARN vue_webpack@1.0.0 No repository field.
虽然知识警告,但是怎么做才能让它自动管理倚赖关系呢?
你这不是错,就是一些依赖,你装上就好了:
这些东西应该都是
vue-loader
的依赖,之所以它放在peerDependency
里,而不是dependency
里,还是希望能多放一些管理自由给使用者。但如果你就是单纯的不想看到这些东西,只管: