Omnislash
Explore posts from serversUI3 UTable horizontal scroll
Hello Kapa
My UTable won't scroll horizontally when it's bigger that it's container :/
Here is my code :
https://github.com/ribbityfrog/steamfrog-front/blob/main/app/components/kit/table/index.vue
And the component Flex if you need it :
https://github.com/ribbityfrog/steamfrog-front/blob/main/app/components/structure/Flex.vue
Thanks 🙂
23 replies
UButton custom variants with UI3
Hello dear kapa
I was creating custom variants in Nuxt UI2 to choose from when creating a button, I fail to see how to do it with Nuxt UI3
Ideally, I would like to create custom colors and custom variants and mix them at will
Thanks 🙂
19 replies
SameSite "does not have a proper SameSite attribute"
Hello,
I try add a cookie this way :
not matter what I do for sameSite, firefox keeps telling me this :
Cookie “token” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
Google looks happy about this though
5 replies
useSeoMeta with i18n
Hello,
I use useSeoMeta with i18n
I have two languages : fr and en.
My meta works perfectly fine with https://domain.fr/fr and https://domain.fr/en, but fails with https://domain.fr.
How to treat the case when the root domain doesn't have the prefix yet when shared ?
Thanks 🙂
19 replies
CDCloudflare Developers
•Created by Omnislash on 2/25/2025 in #general-help
Blocked on a refresh page on Cloudflare Pages

2 replies
layout slot issue
Hello,
For some reason, my footer ends up above my layout slot everytime I change page.... then it goes back to normal if I refresh the page
The template of my App.vue :
My layout :
Page and Section are divs with spacements, so nothing special really.
Page for exemple in case of :
How can the div under <slot /> can end up before <slot /> ?
22 replies
Content-Security-Policy with nuxt scripts gtm
Hello,
I use this :
https://scripts.nuxt.com/scripts/tracking/google-tag-manager
I now have this error on a Firefox based browser : Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src http: https:”
What to do ?
15 replies
useScriptGoogleTagManager no dataLayer push function
Hello,
I'm following this :
https://scripts.nuxt.com/scripts/tracking/google-tag-manager
When I try this :
dataLayer doesn't exist, it's in proxy.google_tag_manager.dataLayer instead, and it's different.
If I try to call push from it :
Property 'push' does not exist on type 'AsAsyncFunctionValues<{ gtmDom: boolean; gtmLoad: boolean; subscribers: number; }>'
How to get the dataLayer ?
Thanks 🙂
11 replies
useScriptGoogleTagManager returns void
Hello,
I'm trying to use useScriptGoogleTagManager
It says :
Property 'proxy' does not exist on type 'void'.ts(2339)
I'm a bit lost, it looks like it should work from this link ?
https://scripts.nuxt.com/scripts/tracking/google-tag-manager
27 replies
i18n multiple files for each language
Hello,
I would like to split my translations into several translations files to have them by page.
I found this, the second answer (rated 1) looks good enough for me :
https://stackoverflow.com/questions/48861001/multiple-translations-files-per-language-with-vue-i18n-and-nuxtjs
Any thoughts ? Is that the way to go ?
Thanks 🙂
9 replies
Redirect all routes to /
Hello,
I would like to redirect all potential routes to my index page ('/')
I tried this in nuxt.config.ts :
But it looks like it's giving me an infinite loop
I didn't try with a middleware but... it seems more proper and elegant to do it in the routeRules ?
Thanks 🙂
5 replies
NuxtImg, custom query parameter on source
Hello,
I allow my user to customize their logo on their page.
However, since I always register it under the name "logo", the NuxtImg cache doesn't refresh and doesn't show the new logo
The solution should be simple, adding the update timestamp as a query parameter of the source.... but the source is already customized with info like width, fit, aspect ratio....
So... how can I add a custom query parameter to my source ? Maybe there is actually a simpler solution ?
Thanks ^^
5 replies
NuxtUI Input placeholder/italic
Hello 🙂
I use NuxtUI, I would like my inputs to have their placeholder in italic but not the entered text.
Here is my app.config.ts :
Right now, it says in italic the whole time.
I tried :
- base: '!not-italic' -> The placeholder is not in italic either anymore
- Adding not-italic in the white.outline -> No change, using important or not
An idea ^^" ?
Thanks
6 replies