2👍
✅
When vue component is used directly inside the html (not in single file vue component template), we need to take care of certain things
- Don’t use self closing tag for the component
- convert all camel case to kebab case for component name and all the props (custom attributes)
There were above two errors because of which the implementation in question was not working.
2👍
You need to use valid html5 so you can’t use self closing tags.
Change <tag-input v-model="tags" />
to <tag-input v-model="tags"></tag-input>
Source:stackexchange.com