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

[Vue warn]: Failed to mount component: template or render function not defined. #56

Closed
vishnu-lumi opened this issue Mar 1, 2018 · 3 comments

Comments

@vishnu-lumi
Copy link

getting this error in my vue project when using Vue.component('toggle-button', require('vue-js-toggle-button')) in app.js

@euvl
Copy link
Owner

euvl commented Mar 1, 2018

Please follow the docs, you don't have to do this.

@MSkred
Copy link

MSkred commented May 18, 2018

Same issue but I follow docs

@euvl
Copy link
Owner

euvl commented May 18, 2018

if you are following the docs - you will see that you dont have to do Vue.component('toggle-button', require('vue-js-toggle-button')) at all 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants