mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-12-06 22:53:51 +01:00
public/ Directory
The public/ directory is used as a public server for static assets publicly available at a defined URL of your application.
You can get a file in the public/ directory from your application's code or from a browser by the root URL /.
Example
For example, referencing an image file in the public/img/ directory, available at the static URL /img/nuxt.png:
<template>
<img src="/img/nuxt.png" alt="Discover Nuxt 3" />
</template>