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).
app/app.vue
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The public/ directory is used to serve your website’s static assets.
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).
public/
favicon.ico
og-image.png
robots.txt
<script setup lang="ts">
useSeoMeta({
ogImage: '/og-image.png',
})
</script>
static/ directory in Nuxt 2.