How to register a plugin to use inside a component library running by storybook?

180 views Asked by At

I want to use a vue-virtual-scroller in my component library which requires to be registered as a plugin via app.use() method.

However, the components lib has not app instance due it is running by storybook via npm run storybook and main.ts file exports only library components.

How can I add the plugin properly to the components lib?

0

There are 0 answers