Global Configuration Nuxt3 Vue3 #1008
Unanswered
JokerMartini
asked this question in
Q&A
Replies: 4 comments 1 reply
-
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"],
}); |
Beta Was this translation helpful? Give feedback.
0 replies
-
any get this working? |
Beta Was this translation helpful? Give feedback.
0 replies
-
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"; |
Beta Was this translation helpful? Give feedback.
0 replies
-
is there a migration guide for switching from nuxt2 to nuxt3 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions