Plugins assets in Form Builder

In form builder do I need to import plugins assets into my app.js for them to work, or is there an issue with my configuration?
3 Replies
Majid Al Zariey
Majid Al ZarieyOP2y ago
Current Configuration
import Alpine from 'alpinejs'
import FormsAlpinePlugin from '../../vendor/filament/forms/dist/module.esm'
import NotificationsAlpinePlugin from '../../vendor/filament/notifications/dist/module.esm'

Alpine.plugin(FormsAlpinePlugin)
Alpine.plugin(NotificationsAlpinePlugin)

window.Alpine = Alpine

Alpine.start()
import Alpine from 'alpinejs'
import FormsAlpinePlugin from '../../vendor/filament/forms/dist/module.esm'
import NotificationsAlpinePlugin from '../../vendor/filament/notifications/dist/module.esm'

Alpine.plugin(FormsAlpinePlugin)
Alpine.plugin(NotificationsAlpinePlugin)

window.Alpine = Alpine

Alpine.start()
Dan Harrin
Dan Harrin2y ago
yes
Majid Al Zariey
Majid Al ZarieyOP2y ago
Thanks Dan, 🍉

Did you find this page helpful?