Inès
CORS error on CSS?
I also use
nuxt-security
and already checked the https://nuxt-security.vercel.app/documentation/utils/subresource-integrity.
Even when disabling the sri
option it doesn't work... Moreover I don't think this is something suitable for production so I put it back either way2 replies
Have multiple domains use the same locale
@xibman Actually the locale fallback works well for display, I have all messages displayed in english...
BUT the thing is, when I print the value of
useI18n().locale
it displays en-US
if I am on http://localhost:3002
which bothers me because I would really like it to be simply en
20 replies
i18n runtimeConfig different domains not working
And finally:
Using the
npm run dev
command (bound to nuxt dev --port=3002 --host
in my package.json)
I can run it locally and my server is served through it.localhost:3002, de.localhost:3002....
NB: It also worked when I declared several env variables with NUXT_PUBLIC_I18N_LOCALES_UK_DOMAIN and so on, but I didn't want too many env variables so I managed the locale subdomain directly in the nuxt.config.ts
Hope it helps22 replies
Reactively add/remove a class name to <body>, from within a component...
But indeed, as the doc says (https://nuxt.com/docs/api/composables/use-head),
bodyAttrs
is non-reactive...45 replies