From cea4b9b578cd1d035460a43bb205fc806ae54ca1 Mon Sep 17 00:00:00 2001 From: helloworld3200 Date: Fri, 11 Oct 2024 21:14:49 +0100 Subject: [PATCH] Update assets.md --- docs/guide/assets.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/guide/assets.md b/docs/guide/assets.md index ce1fa7ac185d3a..421803a1a9def7 100644 --- a/docs/guide/assets.md +++ b/docs/guide/assets.md @@ -109,7 +109,6 @@ The directory defaults to `/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)