Nuxt 3 reached end of life on 31 July 2026
It no longer receives bug fixes or security patches. Upgrade to Nuxt 4 or get extended support from HeroDevs
public
The public/ directory is used to serve your website's static assets.
Files contained within the public/ directory are served at the root and are not modified by the build process. This is suitable for files that have to keep their names (e.g. robots.txt) or likely won't change (e.g. favicon.ico).
Directory structure
-| public/
---| favicon.ico
---| og-image.png
---| robots.txt
app.vue
<script setup lang="ts">
useSeoMeta({
ogImage: '/og-image.png',
})
</script>