mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +00:00
3ec108493d
* docs: simplify docs to only markdown * Create nuxt-config.md * chore: update * chore: add readme
21 lines
722 B
Markdown
21 lines
722 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/`](/docs/guide/directory-structure/public) directory.
|
|
|
|
If you want to serve assets from the server, we recommend taking a look at the [`public/`](/docs/guide/directory-structure/public) directory.
|
|
|
|
::ReadMore{link="/docs/getting-started/assets"}
|