From e5f46df7bcc4ffdee9ec4d3735f0cb861d4d756e Mon Sep 17 00:00:00 2001 From: tombroucke Date: Thu, 16 Jan 2025 00:10:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Import=20static=20assets=20(#320?= =?UTF-8?q?4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Similar to `.assets(["images"])` in bud, we can add static assets in vite. --- resources/js/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/js/app.js b/resources/js/app.js index e69de29..cedfc4c 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -0,0 +1,4 @@ +import.meta.glob([ + '../images/**', + '../fonts/**', +]);