Skip to content

Commit

Permalink
Update assets.md
Browse files Browse the repository at this point in the history
  • Loading branch information
helloworld3200 authored Oct 11, 2024
1 parent e5639f8 commit cea4b9b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/guide/assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ The directory defaults to `<root>/public`, but can be configured via the [`publi
Note that:

- You should always reference `public` assets using root absolute path - for example, `public/icon.png` should be referenced in source code as `/icon.png`.
- Assets in `public` cannot be imported from JavaScript, but you can use the `fetch()` function to retrieve them.

## new URL(url, import.meta.url)

Expand Down

0 comments on commit cea4b9b

Please sign in to comment.