vue3 import .vue file autocomplete does not add extension

When importing one component into another autocompete add path without extension,


import AppHeader from './components/Header.vue';

is added as 

import AppHeader from './components/Header';

Can this be configured somehow?

Thank you.

Comment actions Permalink

Does it happen on auto-import, or when you enter the import path manually? The extension is auto-added when the import is created automatically (since v. 2018.3)

Comment actions Permalink

I'm adding import manually, and pressing either Enter or Tab and insertion is without `.vue` extension

Comment actions Permalink

I see, thanks for clearing it up. Please follow for updates


Please sign in to leave a comment.