Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File name differs from already included file name only in casing #8

Open
fncheng opened this issue Mar 12, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@fncheng
Copy link
Owner

fncheng commented Mar 12, 2021

import queryMsg from './index.js'  // 项目中导入当前文件夹下文件,显示标红

标红信息

File name 'src/views/ElementUI/Input/index.js' differs from already included file name '/src/views/ElementUI/input/index.js' only in casing.Vetur(1149)

代码可以正常运行,但是vscode标红,可能是vetur插件的原因。

@fncheng fncheng added the bug Something isn't working label Mar 12, 2021
@fncheng
Copy link
Owner Author

fncheng commented Mar 12, 2021

参考:microsoft/TypeScript#25460 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant