Skip to content

Commit

Permalink
🔧 Import static assets (#3204)
Browse files Browse the repository at this point in the history
Similar to `.assets(["images"])` in bud, we can add static assets in vite.
  • Loading branch information
tombroucke authored Jan 15, 2025
1 parent 41e232b commit e5f46df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/js/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import.meta.glob([
'../images/**',
'../fonts/**',
]);

0 comments on commit e5f46df

Please sign in to comment.