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

Already included file name #2372

Closed
mmdsb opened this issue Oct 10, 2020 · 6 comments
Closed

Already included file name #2372

mmdsb opened this issue Oct 10, 2020 · 6 comments

Comments

@mmdsb
Copy link

mmdsb commented Oct 10, 2020

Already included file name 'c:/Users/x/Desktop/vue-typescript-admin-template-master/src/views/tab/components/TabPane.vue' differs from file name 'c:/Users/x/Desktop/vue-typescript-admin-template-master/src/views/tab/components/tabPane.vue' only in casing.Vetur(1261)

Info

  • Platform: Win
  • Vetur/VLS version:1261
  • VS Code (or other LSP client) version:1.50.0

Problem

比如先
import TabPane from './components/TabPane.vue'
然后修改引入的名称,文件本身名称不变,只是引入的名称
import TabPane from './components/tabPane.vue' (T变为小写)
再将t变为大写后出现错误提示,无法消除

Reproducible Case

@yoyo930021
Copy link
Member

If you use official extension?
https://marketplace.visualstudio.com/items?itemName=octref.vetur

@mmdsb
Copy link
Author

mmdsb commented Oct 14, 2020

If you use official extension?
https://marketplace.visualstudio.com/items?itemName=octref.vetur

是的啊

@yoyo930021
Copy link
Member

If you use official extension?
https://marketplace.visualstudio.com/items?itemName=octref.vetur

是的啊

microsoft/TypeScript#25460
Try this issue.

@mmdsb
Copy link
Author

mmdsb commented Oct 14, 2020

If you use official extension?
https://marketplace.visualstudio.com/items?itemName=octref.vetur

是的啊

microsoft/TypeScript#25460
Try this issue.

thanks

@yoyo930021
Copy link
Member

If you use official extension?
https://marketplace.visualstudio.com/items?itemName=octref.vetur

是的啊

microsoft/TypeScript#25460
Try this issue.

thanks

If no problem, you can close this issue. ^_^

@hellorayza
Copy link

Already included file name 'c:/Users/x/Desktop/vue-typescript-admin-template-master/src/views/tab/components/TabPane.vue' differs from file name 'c:/Users/x/Desktop/vue-typescript-admin-template-master/src/views/tab/components/tabPane.vue' only in casing.Vetur(1261)

Info

  • Platform: Win
  • Vetur/VLS version:1261
  • VS Code (or other LSP client) version:1.50.0

Problem

比如先
import TabPane from './components/TabPane.vue'
然后修改引入的名称,文件本身名称不变,只是引入的名称
import TabPane from './components/tabPane.vue' (T变为小写)
再将t变为大写后出现错误提示,无法消除

Reproducible Case

Refer to:
microsoft/TypeScript#25460 (comment)

@mmdsb mmdsb closed this as completed Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants