Omnislash
Hydration loading
Hello 🙂
I understand that when the server is done loading, you can display somethign while the client is downloading the content using either <ClientOnly> or OnMounted()
Is it possible to display something while the server is loading ? For exemple, to exaggerate it, if I put a 10 seconds waiting for an endpoint to answer, I will have to wait for 10s to display anything no matter what ?
I would say yes since wherever I check, documentation including, you have to await the useFetch (or useAsyncData) but... who knows, I might have missed something big ^^"
Thanks 🙂
3 replies
Nuxt UI Theming : Nested primary color
Hello 🙂
If I crated this in my tailwind config :
And this in my nuxt config :
It works fine
But if I write main this way :
It looks like this doesn't work in the nuxt conf :
Is there a way to nest my colors before making it the primary in nuxt ?
Thanks 🙂
1 replies
UForm schema array
Hello,
I need to create an extensible form for my project
I'm using zod, which looks like this (no problem on that side)
I then go over the array to display the form :
The validation itself works but.... I can't seem to find how to name the UFormGroup for the errors to be printed within the form.
Any idea ^^" ?
Thanks
1 replies
Deploy without Nitro
Hello,
I'm using Nuxt only as a front, coding the back on Adonis.
I disabled the SSR, since you need to be connected to see any part of my service there is no SEO involved (and I'm actually here to minimize the workload on the server ends)
I don't seem to find in the documentation or from a trusted source how to disable Nitro and deploy without it.
Is there any link about it please ^^ ?
Thanks
9 replies
useFetch vs $fetch
Hello,
First of all, I understand that :
- useFetch = useAsyncData + $fetch
- $fetch is pre-hydration (if awaited, even resolved pre-hydration)
That being said, with SSR fully disabled, is there any perk using useFetch instead of $fetch ?
SSR is disabled for me because :
- Nothing will be publicly accessible anyway, no SEO needed
- For the type of project, it's more important to reduce the server workload and the client will be ok to "wait the extra time"
Thanks 🙂
3 replies