public
The public/ directory is used to serve your website's static assets.
The public/
is served at the server root and contains public 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>
useSeoMeta({
ogImage: '/og-image.png'
})
</script>