Skip to content

‘.vue’ suffix cannot be omitted ? I used js syntax . #1023

New issue

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

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

Already on GitHub? # to your account

Closed
elewen opened this issue Nov 5, 2020 · 1 comment
Closed

‘.vue’ suffix cannot be omitted ? I used js syntax . #1023

elewen opened this issue Nov 5, 2020 · 1 comment

Comments

@elewen
Copy link

elewen commented Nov 5, 2020

Describe the bug

import HelloWorld from './components/HelloWorld'; // bad job

import HelloWorld from './components/HelloWorld.vue'; // good job

How to config If I want omitted ‘.vue’ suffix? I used JS, rather than TS .

Reproduction

System Info

Logs (Optional if provided reproduction)

@underfin
Copy link
Member

underfin commented Nov 5, 2020

Same as #178.

@underfin underfin closed this as completed Nov 5, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants