Skip to content

Commit

Permalink
Alpine trap plugin deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
tanthammar committed Jan 17, 2022
1 parent e85f25c commit 26dc730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/stubs/alpine.js.stub
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import Alpine from 'alpinejs'
import trap from '@alpinejs/trap'
import focus from '@alpinejs/focus'
import collapse from '@alpinejs/collapse'

window.Alpine = Alpine

Alpine.plugin(trap)
Alpine.plugin(focus)
Alpine.plugin(collapse)
Alpine.start()

Expand Down

0 comments on commit 26dc730

Please sign in to comment.