Dawit
White flash on page reload
I have encountered the issue once. In my case, it was because I had an invalid html structure. Like placing a heading tag inside a div. There may be other causes too and it typically has to do with mismatches between what the client renders and the server renders.
12 replies
Example of updating app.config at runtime
Nuxt provides the
updateAppConfig
utility for this. When you call this method with the new config object you want to update in the app config, it will update only the specific property that has changed and leave other properties untouched. Even though, there isn't much else on its use, it is documented here (https://nuxt.com/docs/api/utils/update-app-config). Hope that helps.2 replies
ogImage is not visible
The primary issue could be from trying to access your images from the
assets
folder. In a Nuxt project, static files are typically served from the public
folder. If the image is located in public
, you can access it from the root path at /images/logo.webp
. This is well documented (https://nuxt.com/docs/getting-started/assets).5 replies