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

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

如果Paginate組件是大寫的,那么這樣用會錯: 

import Paginate from '~/components/paginate.vue';
需要這樣寫:
import Paginate from '~/components/Paginate.vue';

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM