2021-10-11 12:57:54 +00:00
|
|
|
---
|
|
|
|
icon: IconDirectory
|
|
|
|
title: 'assets'
|
|
|
|
head.title: Assets directory
|
|
|
|
---
|
|
|
|
|
|
|
|
# Assets directory
|
|
|
|
|
2021-10-12 14:17:46 +00:00
|
|
|
The `assets/` directory is used to add all the website assets that will be processed by the build tool (Webpack or Vite).
|
2021-10-11 12:57:54 +00:00
|
|
|
|
|
|
|
The directory usually contain such files:
|
|
|
|
- Stylesheets (CSS, SASS, etc.)
|
|
|
|
- Fonts
|
2021-10-11 22:47:43 +00:00
|
|
|
- Images that won't be served from the [`public/`](/docs/directory-structure/public) directory.
|
2021-10-11 12:57:54 +00:00
|
|
|
|
2021-10-11 22:47:43 +00:00
|
|
|
If you want to serve assets from the server, we recommend to take a look at the [`public/`](/docs/directory-structure/public) directory.
|