vue-expose-component-names
v0.0.5
Published
Vue.js plugin to expose component names in the DOM
Downloads
5
Readme
vue-expose-component-names
This Vue.js plugin expose component names in the DOM by adding a data-component-name
attribute to the root element of all your Vue components.
This let you use a CSS selector to easily query your components:
document.querySelectorAll("[data-component-name='MyComponent']")
Installation
npm install --save vue-expose-component-names
License
The MIT License (MIT). Please see License File for more information.