-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Unable to resolve path to module '@/components/HelloWorld.vue' on vue ui #1650
Comments
Removing the airbnb linter worked fine. |
Same problem here. Seems the UI and CLI have different logic. |
Duplicate of #1611 |
Solved like this: #2628 |
Same issue occuring in v2.6.11 of Vue - issue is with |
@michealjroberts I'm using v.2.6.11 with airbnb, installed with |
I was having the same issue... In
|
here is my setting in rules: {
// another rules,
'import/extensions': [
'error',
'ignorePackages',
{
js: 'never',
mjs: 'never',
jsx: 'never',
ts: 'never',
tsx: 'never',
vue: 'never',
},
],
},
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx', '.json', '.vue'],
},
},
}, |
I faced the bug just now. Here I have a file called "AuditItemEditDescription.vue", I can't import it. I can truncate the characters and make it "AuditItemEditDesc.vue", and it works. But for whatever reason the bigger name says |
I ran into the same issue with the long component name. Saw your comment and shortened my component name got the error to go away. Thanks for commenting. |
Version
3.0.0-rc.3
Reproduction link
https://github.com/ruanltbg/vue-ui-bug
Steps to reproduce
On terminal run:
$ vue ui
On the browser
What is expected?
To create a project successfully
What is actually happening?
May be related to:
vuejs-templates/webpack#144
#422
The text was updated successfully, but these errors were encountered: