Dawit
Nuxt UI 2.21.1 migration to v 3.0.0
You might have moved on from this, but you can still use your
tailwind.config.js
file in Tailwind CSS v4 using the @config
directive until you migrate to a CSS-based config. It is documented in the upgrade guide.89 replies
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