mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +00:00
dc47c64f14
Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: Sébastien Chopin <seb@nuxtjs.com> Co-authored-by: Pooya Parsa <pooya@pi0.io> Co-authored-by: pooya parsa <pyapar@gmail.com> Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
21 lines
706 B
Markdown
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"}
|