我正在构建一个从webpack模板(vue-wepack-template)开始的Vue应用程序。 单元测试的通过命令的执行过程:测试执行期间的Vue警告
yarn run unit
我可以看到一些Vue的警告:
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* /Users/xxxxxxx/components/node_modules/vue-loader/index.js??ref--1!/Users/xxxxxxxx/components/node_modules/eslint-loader/index.js??ref--0!/Users/xxxxxxxx/components/src/components/Layout/FullScreen.vue
Used by 2 module(s), i. e.
ERROR LOG: '[Vue warn]: Unknown custom element: <router-link> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
ERROR LOG: '[Vue warn]: Error in mounted hook: "ReferenceError: Can't find variable: d3"
它们看起来像某种的WebPack配置问题,但我不知道在哪里开始调试这个。我没有触及默认的测试配置和测试运行良好...
我错过了什么?