elk/plugins/floating-vue.ts
2022-11-24 13:04:29 +08:00

8 lines
201 B
TypeScript

import FloatingVue from 'floating-vue'
import { defineNuxtPlugin } from '#app'
import 'floating-vue/dist/style.css'
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(FloatingVue)
})