Skip to content

Commit

Permalink
docs: Update authoring.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier authored Oct 31, 2024
1 parent b5fa16c commit 01ffb74
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/getting-started/authoring.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,13 @@ Instead of `files`, a `folder` prop allow you to pass a folder containing all th
/>
```

NB: `folder` path is relative to the mdx file.
`folder` path is relative to the `.mdx` file:

```
|-- getting-started
| |-- authoring.mdx <= relative to this article
| `-- authoring-sandpack-cloud <= the folder
```

> [!TIP]
> It will simply:
Expand Down Expand Up @@ -469,4 +475,4 @@ or better:

<Backers repo="react-three-fiber" />

</details>
</details>

0 comments on commit 01ffb74

Please sign in to comment.