Laravel 5.4无法运行"php artisan预置反应".指挥官 [英] Laravel 5.4 can't run "php artisan preset react" comand

查看:216
本文介绍了Laravel 5.4无法运行"php artisan预置反应".指挥官的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Laravel 5.4无法运行php artisan preset react命令 未获取命令预设"".回应.

Laravel 5.4 can't run php artisan preset react comand Getting "Command "preset" is not defined." responde.

推荐答案

对于Laravel 7+项目:

For Laravel 7+ projects:

composer require laravel/ui
php artisan ui react

https://laravel.com/docs/7.x/frontend#introduction

对于Laravel 5.5及更高版本的项目:

For Laravel 5.5+ projects:

php artisan preset react

https://medium.com/@taylorotwell/laravel-frontend-presets- eca312958def

这篇关于Laravel 5.4无法运行"php artisan预置反应".指挥官的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆