1php artisan vendor:publish --provider="Nwidart\Modules\LaravelModulesServiceProvider"
1mkdir my-app && cd my-app
2npm init -y
3npm install laravel-mix --save-dev
4cp node_modules/laravel-mix/setup/webpack.mix.js ./
5
1{
2 "autoload": {
3 "psr-4": {
4 "App\\": "app/",
5 "Modules\\": "Modules/"
6 }
7 }
8}