Skip to content

Commit e5f46df

Browse files
authored
🔧 Import static assets (#3204)
Similar to `.assets(["images"])` in bud, we can add static assets in vite.
1 parent 41e232b commit e5f46df

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)