laravel-code-generator
laravel-code-generator copied to clipboard
--views-directory option doesn't allow set custom directory structure as intended.
--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/
A workaround is to use the --routes-prefix option instead of the --views-directory one
Same issue with me.
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.