You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/usage/static-content.mdx
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,12 @@ description: "Learn how to use static content and custom fonts in your document
4
4
icon: "image"
5
5
---
6
6
7
+
<Note>
8
+
All static files must be placed in the `/documents/static` directory of your project. This is the required location for serving static assets in your document templates.
9
+
</Note>
10
+
7
11
## Client-Side Usage
8
-
Inside HTML/React components, static files are served directly from the `/static` directory. Access them using the absolute path:
12
+
Inside HTML/React components, static files are served directly from the `/documents/static` directory. Access them using the absolute path:
0 commit comments