joe_black_unlucky
NuxtImage With IPX not working in production
Vercel doesnt have the correct libraries installed in their node to support IPX image conversions. You need to store your images on bunnyCDN or similar that has the image optimization and caching built in. I personally have AWS S3 storage with an image optimization lambda function to serve my images and convert them on the fly.
5 replies
ACL Challenges with Nuxt 3 and Supabase in Server-Rendered Context
I haven't worked with supabase yet or jwt tokens but the concept I believe is the same, set a cookie during login procedures (your JWT token perhaps) and use that cookie server side to authenticate.
You can access the request object with the cookie headers in a nuxt server side plugin
2 replies
How to use layouts (using named slots)?
wow, how ungrateful, at this point i would just move on. But I want to suggest one last thing, if you could be more specific in what you want to achieve as in an actual use case then we can help you with an actual solution. Your example of changing the title can be done much simpler, but clearly you dont want a title change but a component in there, in that case you can just compare the router path and change visibility in your dashboard for that. Why do people always want to force their square peg into a round hole if there are so many other ways of solving the same problem, but no you want the square peg in the round hole and screw all other suggestions. I'm out...
118 replies
OgImage - Crashing app
Have you tried opening an issue on https://github.com/nuxt-modules/og-image? Seems like they might have more insights
5 replies
How to use layouts (using named slots)?
I think your question doesn't clearly state what you want to do, and you havent included the layout file so we are just going on assumptions. template slots can only by targeted within the tag of said component, so either you create header and content slots for each dashboard page and pass the layout slots all the way down or we dont know what you want to do.
Here some code that might help
118 replies
Migrating simple existing content including styles (Nuxt 3) to Nuxt Content
Look at what markdown formatting has to offer, and align it with what you want...
https://www.markdownguide.org/basic-syntax/
21 replies
How to use layouts (using named slots)?
Yeah you right, im still on setting the page title meta tags, you can use teleport to teleport content or components to this header template, is one way
https://nuxt.com/docs/api/components/teleports
118 replies
How to use layouts (using named slots)?
Child pages or components? yes from components you would need to bubble up an event if you are not using pinia. With pinia it's super easy, set the pinia store value in the child component and use that pinia store value in your layout page or wherever
118 replies