Skip to content

Commit 497f72a

Browse files
authored
Update app.js
Similar to .assets(["images"]) in bud, we can add static assets in vite.
1 parent 41e232b commit 497f72a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

resources/js/app.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import.meta.glob([
2+
'../images/**',
3+
'../fonts/**',
4+
]);

0 commit comments

Comments
 (0)