-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not support Nuxt 3 #820
Comments
Getting the same errors. |
Same here! |
It looks like import { defineNuxtPlugin } from '#app'
import FloatingVue from 'floating-vue'
import 'floating-vue/dist/style.css'
export default defineNuxtPlugin(({ vueApp }) => {
vueApp.use(FloatingVue)
}) |
I am unable to get this to work in Nuxt3. Following the documentation for Nuxt3 https://floating-vue.starpad.dev/guide/installation.html#nuxt-3 Just added 'floating-vue/nuxt', to buildModules I do not get any errors but also when I add v-tooltip="text" it is not rendering any tooltips. Is there any other setup required to use it as a directive? |
I just tried with the latest version and I have no issue |
As per the docs, I installed using
package.json shows this is the version installed
Nuxt is
Is there any additional setup required like importing the css? or is it just adding 'floating-vue/nuxt' to nuxtConfig? |
Yes |
Thanks for your help. I cleared node_modules and ran npm install and it is working now |
The If you manually add the nuxt.mjs file, it works. Perhaps this package build pipeline is filtering out the |
You have to add it to |
Hi,
I acted upon ur introduction to install
floating-vue
into Nuxt 3: https://v-tooltip.netlify.app/guide/installation.html#nuxt-3Please help to take a look. Thank u
The text was updated successfully, but these errors were encountered: