A magic helper to generate to scroll the viewport in Alpine.Js
npm install @alpine-collective/toolkit-scroll

A magic helper to generate to scroll the viewport in Alpine.Js
Include the following tag in the of your document, before Alpine:
``html``
orhtml`
If you would like to bundle the plugin yourself, install it via NPM:
`bash`
npm install @alpine-collective/toolkit-scroll --save-dev
You can then register the plugin with Alpine:
`js
import Alpine from 'alpinejs'
import Scroll from '@alpine-collective/toolkit-scroll'
Alpine.plugin(Scroll)
Alpine.start()
``