Skip to content

Add the plugin to storybook #84

Description

@wazolab

Hi,

I'm trying to add the plugin globally in my Storybook instance.

import Device from '@nuxtjs/device';

Vue.use( Device, { refreshOnResize: true });

But it seems that the options are not transmitted to the plugin as I'm facing the following error:
TypeError: this.options is undefined

Do you have an idea on how I can inject it into my Vue instance ?
Thanks a lot :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions