Looking to hire Laravel developers? Try LaraJobs

laravel-scroll-to-top maintained by lopatin96

Description
Laravel scroll to top
Last update
2024/03/26 10:53 (dev-master)
License
Links
Downloads
6 802

Comments
comments powered by Disqus

Install

View

Add import to resources/js/app.js:

import '../../vendor/lopatin96/laravel-scroll-to-top/resources/js/scroll-to-top';

and include view:

@include('laravel-scroll-to-top::scroll-to-top.index')

Publishing

Views

php artisan vendor:publish --tag="laravel-scroll-to-top-views"