码迷,mamicode.com
首页 > 其他好文 > 详细

Vue编译提示警告

时间:2017-07-03 16:36:14      阅读:390      评论:0      收藏:0      [点我收藏+]

标签:expec   同名   asi   nat   use   files   when   产生   nbsp   

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. 
使用唯一的写法

提示原因:

import Pagination from ‘../../../components/Pagination/Pagination‘
Pagination在项目的文件名是小写的,这里引用的时候变大写了,正确写法如下:
import Pagination from ‘../../../components/pagination/pagination‘ , 这样写 就不会报warning提示了。

Vue编译提示警告

标签:expec   同名   asi   nat   use   files   when   产生   nbsp   

原文地址:http://www.cnblogs.com/zsongs/p/7111209.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!