This text explains how to add a laravel package on a Sage 10 theme, in this example I'm going to use the the https://github.com/blade-ui-kit/blade-heroicons package to add customs components to render the Heroicon's SVGs
Just follow the instructions on https://github.com/blade-ui-kit/blade-heroicons#installation
On the /config/app.php add the package's service provider like we use to do on an old Laravel version
// Illuminate\Validation\ValidationServiceProvider::class,
Illuminate\View\ViewServiceProvider::class,
/*
* Package Service Providers...
*/
BladeUI\Heroicons\BladeHeroiconsServiceProvider::class,
/*
* Application Service Providers...
*/
App\Providers\ThemeServiceProvider::class,
The class path can be found on the package's composer file, in this case here
Finally, in our same config/app.php we need to activate the global helper functions to replicate a Laravel install
and that's it.