l一直在laravel项目文件夹中。当然,我可以运行其他php artisan
命令。
这是我的命令行:
$ php7 artisan
Laravel Framework 5.7.9
Usage:
command [options] [arguments]
...
make
....
make:graphql:mutation Create a new GraphQL mutation class
make:graphql:query Create a new GraphQL query class
make:graphql:type Create a new GraphQL type class
... // other command hide here
$ php7 make:graphql:type Meta
Could not open input file: make:graphql:type
我确信我是在拉拉维尔项目下,其他工匠指挥部也可以工作
我安装了laravel graphql和composercomposer7 require 'folklore/graphql'
,版本1.10
您需要在输入中包含artisan命令
php artisan make:graphql:type Meta