laravel-code-generator icon indicating copy to clipboard operation
laravel-code-generator copied to clipboard

--views-directory option doesn't allow set custom directory structure as intended.

Open unknownbreakdown opened this issue 5 years ago • 3 comments

--views-directory option doesn't allow set custom directory structure under resources/views. It always create first as parent directory the plural name of the model.

eg. --views-directory=management/categories generates categories/management/categories/ directory structure under resources/views/

unknownbreakdown avatar May 17 '20 05:05 unknownbreakdown

A workaround is to use the --routes-prefix option instead of the --views-directory one

unknownbreakdown avatar May 17 '20 06:05 unknownbreakdown

Same issue with me.

AjithLalps avatar Jul 31 '20 07:07 AjithLalps

Yes, me too... i try to use --views-directory but, this arg work only inside the resource folde inside resources/views... I need change resources/views into resources/views/child for all generation.

mgip avatar Aug 08 '22 09:08 mgip