php artisan module:make Blog
composer require nwidart/laravel-modules
php artisan vendor:publish --provider="NwidartModulesLaravelModulesServiceProvider"
{
"autoload": {
"psr-4": {
"App": "app/",
"Modules": "Modules/"
}
}
}
mkdir my-app && cd my-app
npm init -y
npm install laravel-mix --save-dev
cp node_modules/laravel-mix/setup/webpack.mix.js ./