There are multiple modules with names that only differ in casing.

client?4c0e:153 ./src/components/Paginate.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:
* D:\phpStudy\WWW\school\backend\node_modules\vue-loader\index.js!D:\phpStudy\WWW\school\backend\src\components\Paginate.vue
    Used by 6 module(s), i. e.
    D:\phpStudy\WWW\school\backend\node_modules\babel-loader\lib\index.js!D:\phpStudy\WWW\school\backend\node_modules\vue-loader\lib\selector.js?type=script&index=0!D:\phpStudy\WWW\school\backend\src\views\teaching\education\Exam.vue
* D:\phpStudy\WWW\school\backend\node_modules\vue-loader\index.js!D:\phpStudy\WWW\school\backend\src\components\paginate.vue
    Used by 1 module(s), i. e.
    D:\phpStudy\WWW\school\backend\node_modules\babel-loader\lib\index.js!D:\phpStudy\WWW\school\backend\node_modules\vue-loader\lib\selector.js?type=script&index=0!D:\phpStudy\WWW\school\backend\src\views\studentGrowUp\studentRecord.vue
warnings @ client?4c0e:153
onmessage @ socket.js?e5d0:41
EventTarget.dispatchEvent @ sockjs.js?d6e8:170
(anonymous) @ sockjs.js?d6e8:883
SockJS._transportMessage @ sockjs.js?d6e8:881
EventEmitter.emit @ sockjs.js?d6e8:86
WebSocketTransport.ws.onmessage @ sockjs.js?d6e8:2957
client?4c0e:153 ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/Paginate.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:
* D:\phpStudy\WWW\school\backend\node_modules\babel-loader\lib\index.js!D:\phpStudy\WWW\school\backend\node_modules\vue-loader\lib\selector.js?type=script&index=0!D:\phpStudy\WWW\school\backend\src\components\Paginate.vue
    Used by 2 module(s), i. e.
    D:\phpStudy\WWW\school\backend\node_modules\vue-loader\index.js!D:\phpStudy\WWW\school\backend\src\components\Paginate.vue
* D:\phpStudy\WWW\school\backend\node_modules\babel-loader\lib\index.js!D:\phpStudy\WWW\school\backend\node_modules\vue-loader\lib\selector.js?type=script&index=0!D:\phpStudy\WWW\school\backend\src\components\paginate.vue
    Used by 2 module(s), i. e.
    D:\phpStudy\WWW\school\backend\node_modules\vue-loader\index.js!D:\phpStudy\WWW\school\backend\src\components\paginate.vue

這是引用組件時,路徑大小寫不對致使的。好比:php

若是Paginate組件是大寫的,那麼這樣用會錯: vue

import Paginate from '~/components/paginate.vue';
須要這樣寫:
import Paginate from '~/components/Paginate.vue';
相關文章
相關標籤/搜索