elk/plugins/floating-vue.ts

8 lines
201 B
TypeScript
Raw Normal View History

2022-11-24 05:04:20 +00:00
import FloatingVue from 'floating-vue'
import { defineNuxtPlugin } from '#app'
import 'floating-vue/dist/style.css'
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(FloatingVue)
})