Skip to content

Vue plugin instead of Vue component #65

@mrleblanc101

Description

@mrleblanc101

Hi,
Shouldn't this be a vue plugin Vue.use() instead of a component Vue.component() ?
As a vue plugin you could pass global options instead of having multiple export for every variation.
Also you could auto-detect if it's running in a Nuxt app and apply the <nuxt-link> instead of <router-link> automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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