Closed JokerMartini closed 6 months ago
I tried this and it didn't work...
import FloatingVue from "floating-vue";
FloatingVue.options.themes.tooltip.placement = "bottom";
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["@nuxtjs/tailwindcss", "@pinia/nuxt", "floating-vue/nuxt"],
css: ["@/assets/css/tailwind.css"],
});
any get this working?
Place this code in a Nuxt plugin so it is run inside your application (not in Nuxt config file):
import FloatingVue from "floating-vue";
FloatingVue.options.themes.tooltip.placement = "bottom";
Where do i define a global configuration file when using the Nuxt3 setup (module)? Does it go somewhere in the nuxt.config.js file? In my case i want to place the tooltips at the bottom. I wasn't really clear on how or where to do this based on the docs.
My nuxt.config.js