Nuxt/docs/content/2.guide/2.directory-structure/1.assets.md

21 lines
706 B
Markdown

---
navigation.icon: IconDirectory
title: "assets"
description: "The assets/ directory is used to add all the website's assets that the build tool will process."
head.title: "Assets"
---
# Assets Directory
The `assets/` directory is used to add all the website's assets that the build tool (webpack or Vite) will process.
The directory usually contains the following types of files:
- Stylesheets (CSS, SASS, etc.)
- Fonts
- Images that won't be served from the [`public/`](/guide/directory-structure/public) directory.
If you want to serve assets from the server, we recommend taking a look at the [`public/`](/guide/directory-structure/public) directory.
::ReadMore{link="/getting-started/assets"}