brunomgmateus
i18n language auto detection not working
Are you using "prefix_except_default" strategy?
There's currently a pending issue that may be affecting you.
https://github.com/nuxt-modules/i18n/issues/3039
5 replies
Is it possible to exclude a component from a cached route?
Thank you. I assumed that, but I'm also guessing that, being a fairly used scenario, there would be some way of bailing some components from cache. Thanks anyway (happy that it wasn't a dumb question 🙂
4 replies
Is it possible to exclude a component from a cached route?
@danielroe Sorry for pulling you in, but would you think that:
a. this is a bug of the module?
b. this could be an enhancement for nuxt core?
c. I'm just a d*mbass and it should be done in a different fashion?
4 replies
How to host a full stack Nuxt3 app on cPanel
Sorry for the late reply. You can host it, but there's a couple of pre-requisites.
This github discussion has more details.
https://github.com/nuxt/nuxt/discussions/25910#discussioncomment-10396305
5 replies
Build Nuxt 3 as CommonJS
Sorry for the late reply, but just to let you know that I've come accross an issue where, if you're using the setting "experimental.writeEarlyHints" in nuxt.config.ts, it breaks production version in cPanel, Plesk (and other serverrs that use either nginX or Phusion Passenger).
11 replies
Quick Question - Supabase Client Fetch vs API route fetch
It should be the same result AFAIK, but to me using server api brings a better workflow, as it becomes easier and cleaner to handle as the project increases in size.
Not only fetching logic becomes separated, but the data fetching is actually done on the server side, instead of possibly exposing the fetched resource server on the client and possibly CORS errors (but it can also be mitigated with 'server: true' when fetching directly).
Defining allowed methods is also a breeze, as is the whole api structuring.
Also, if you would like to access that data from other apps, or php, etc, you would just point it to the endpoint.
However, pay attention to securing your api, as I've seen the wild endpoints that delete stuff from database without any protection. Just something to be aware of.
2 replies