Werdox
Explore posts from serversNuxt Image with ssr false
Im creating a portfolio website and it has a lot of small images inside. Im using NuxtImg component to set a size and quality for each image.
Now local works perfectly fine but when I generate a static version, it uses does not optimize my images and just uses the original ones.
I do have
ssr: false
in my config and image optimization does work when it's enabled.4 replies
page layout remounts when changing to a route using the same layout
I know this may be the intended behaviour but I'm creating a chat app and the layout has a list of user channels and it's not practical to fetch the whole list on every route change
2 replies
Layout transition with javascript hook not working
I wanted to animate between layouts using anime.js. But it seems that the layout transition javascript hook doesn't even care about when the
done()
function is called and just immediately changes the layout.
here is my code:
here I'm just creating a promise that when done, with call the done
function. i tried to await it; tried using just setTimeout; nothing worked!1 replies