Skip to content

Nuxt3 Configurations #157

@david8z

Description

@david8z

Just wanted to point out how I had to set it up in order to use it with a Nuxt3 app in case it's usefull for anyone (not sure if it might be worth to add it in the docs)

Created file plugins/vue-slicksort.js with following content:

import { plugin as Slicksort, HandleDirective  } from 'vue-slicksort';

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp.use(Slicksort)
  // In order to use handler
  nuxtApp.vueApp.directive('handle', HandleDirective)
})

Thanks for the great plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions