F
Filamentβ€’14mo ago
Quin.

App.js import my bootstrap.js missing module

Hello i wanted to add bootstrap.js in mine app.js but then i am missing the module, normally in the laravel docu you add it in the app.blade.php, something like this, @vite(['resources/js/app.js']) how do i do this for filament because i am using filament
No description
No description
No description
Solution:
Js::make()->module()
Jump to solution
9 Replies
toeknee
toekneeβ€’14mo ago
So you want to load bootstrap and tailwind....
Quin.
Quin.OPβ€’14mo ago
no , by default the bootstrap.js contains (see screenshot) the follewing information what i need to use
No description
toeknee
toekneeβ€’14mo ago
Few, justi import it directly into app?
Quin.
Quin.OPβ€’14mo ago
yeah πŸ™‚ normal you just put in the the <head> from the app.blade.php but we don't use that in filament so i need a way to do that
Quin.
Quin.OPβ€’14mo ago
That already works man
No description
Quin.
Quin.OPβ€’14mo ago
Else i wouldn't get that error, i really don't know how to register
No description
Solution
awcodes
awcodesβ€’14mo ago
Js::make()->module()
Quin.
Quin.OPβ€’14mo ago
Thank you man! that was it πŸ™‚
Want results from more Discord servers?
Add your server