You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 8, 2019. It is now read-only.
I created the @verstaerker/vue-bem plugin. The plugin also provides a mixin as a named export. Unfortunately this seems not to work with vue-docgen-api (it does work inside the Vue application itself) and gives the following error:
Warning: Cannot parse app/components/e-heading.vue: Error: No suitable component definition found
It usually means that vue-docgen-api does not understand your source code or when using third-party libraries, try to file an issue here:
https://github.com/vue-styleguidist/vue-docgen-api/issues
The Plugin code
src/modules/mixin.js Holds the mixin code.
var mixin = {
// ...
}
export default mixin;
src/index.js Creates the public exports.
export { default } from './modules/plugin';
export { default as bemMixin } from './modules/mixin';