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

vetur should check Component's name correctness #2671

Open
1 task done
WingDust opened this issue Feb 4, 2021 · 0 comments
Open
1 task done

vetur should check Component's name correctness #2671

WingDust opened this issue Feb 4, 2021 · 0 comments

Comments

@WingDust
Copy link

WingDust commented Feb 4, 2021

  • I have searched through existing issues

Feature Request

In Vue Component Registration
we will write this code

    components:{
        'tagscontainer':TagsContainer,
        'singleblock':singleblock 
    }

but when I write this (just compoent name + space) , will not error before run

    components:{
        'tagscontainer':TagsContainer,
        'singleblock ':singleblock 
    }

after run vue will give
[Vue warn]: Failed to resolve component: singleblock ---------------- chunk.DYQDGB5Z.js?v=38f4965f:843

And
Vetur should check Component's name is correct when Vue Component Registration
if not will show error

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

2 participants