zoukankan      html  css  js  c++  java
  • 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:phpStudyWWWschoolackend ode_modulesvue-loaderindex.js!D:phpStudyWWWschoolackendsrccomponentsPaginate.vue
        Used by 6 module(s), i. e.
        D:phpStudyWWWschoolackend ode_modulesabel-loaderlibindex.js!D:phpStudyWWWschoolackend ode_modulesvue-loaderlibselector.js?type=script&index=0!D:phpStudyWWWschoolackendsrcviews eachingeducationExam.vue
    * D:phpStudyWWWschoolackend ode_modulesvue-loaderindex.js!D:phpStudyWWWschoolackendsrccomponentspaginate.vue
        Used by 1 module(s), i. e.
        D:phpStudyWWWschoolackend ode_modulesabel-loaderlibindex.js!D:phpStudyWWWschoolackend ode_modulesvue-loaderlibselector.js?type=script&index=0!D:phpStudyWWWschoolackendsrcviewsstudentGrowUpstudentRecord.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:phpStudyWWWschoolackend ode_modulesabel-loaderlibindex.js!D:phpStudyWWWschoolackend ode_modulesvue-loaderlibselector.js?type=script&index=0!D:phpStudyWWWschoolackendsrccomponentsPaginate.vue
        Used by 2 module(s), i. e.
        D:phpStudyWWWschoolackend ode_modulesvue-loaderindex.js!D:phpStudyWWWschoolackendsrccomponentsPaginate.vue
    * D:phpStudyWWWschoolackend ode_modulesabel-loaderlibindex.js!D:phpStudyWWWschoolackend ode_modulesvue-loaderlibselector.js?type=script&index=0!D:phpStudyWWWschoolackendsrccomponentspaginate.vue
        Used by 2 module(s), i. e.
        D:phpStudyWWWschoolackend ode_modulesvue-loaderindex.js!D:phpStudyWWWschoolackendsrccomponentspaginate.vue

    这是引用组件时,路径大小写不对导致的。比如:

    如果Paginate组件是大写的,那么这样用会错: 

    import Paginate from '~/components/paginate.vue';
    需要这样写:
    import Paginate from '~/components/Paginate.vue';
    记录点滴,迭代精进,追求新生。Email: 942298768@qq.com
  • 相关阅读:
    狄慧201771010104《面向对象程序设计(java)》第十六周学习总结
    狄慧201771010104《面向对象程序设计(java)》第十五周学习总结
    狄慧201771010104《面向对象程序设计(java)》第十四周学习总结
    201771030122-王瑞梅 实验二 个人项目—《西北师范大学学生疫情上报系统》项目报告
    201771030122-王瑞梅 实验一 软件工程准备—<初读《构建之法--现代软件工程》>
    软件工程学习总结
    团队项目在GitHub合作开发管理流程
    2020 软件工程—— 中期获“衣”有感
    201771010131-王之泰 实验四 软件项目案例分析
    数据库连接和导出excal
  • 原文地址:https://www.cnblogs.com/chaoyong/p/8340681.html
Copyright © 2011-2022 走看看