DEV Community

Mayank
Mayank

Posted on

Answer: All elements after vue component are removed automatically

When vue component is used directly inside the html (not in single file vue component template), we need to take care of certain things

  1. Don't use self closing tag for the component
  2. convert all camel case to kebab case for component name and all the props (custom attributes)

There were…

Top comments (0)