Laravel 5.4 can't run “php artisan preset react” comand
问题 Laravel 5.4 can't run php artisan preset react comand Getting "Command "preset" is not defined." responde. 回答1: The php artisan preset react command is available since Laravel 5.5. If you love React, you will love Laravel 5.5. Simply run the php artisan preset react command to swap out the Vue scaffolding with React scaffolding. https://medium.com/@taylorotwell/laravel-frontend-presets-eca312958def 回答2: Laravel 5.5 a new Artisan preset command allows you to replace default tools with other