use node modules in laravel code example
Example 1: laravel modules
php artisan vendor:publish --provider="Nwidart\Modules\LaravelModulesServiceProvider"
Example 2: laravel modules
composer require nwidart/laravel-modules
Example 3: laravel modules
{
"autoload": {
"psr-4": {
"App\\": "app/",
"Modules\\": "Modules/"
}
}
}