Skip to content

Vue plugin instead of Vue component #65

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions