CrestApps / laravel-code-generator

An efficient Laravel code generator, saving time by automating the creation of resources such as views, controllers, routes, migrations, languages, and form-requests. Highly flexible and customizable, it includes a cross-browser compatible template and client-side validation for application modernization.
https://laravel-code-generator.crestapps.com
MIT License
738 stars 158 forks source link

Get error when publishing the package #75

Closed diorz38 closed 6 years ago

diorz38 commented 6 years ago

Environment:

Description:

Get error when publishing package:

- Can't locate path: <d:\laravel\vendor\crestapps\laravel-code-generator\src/../config/codegenerator.php>
+ Copied Directory [\vendor\crestapps\laravel-code-generator\templates\default] To [\resources\laravel-code-generator\templates\default]
+ Copied Directory [\vendor\crestapps\laravel-code-generator\templates\default-collective] To [\resources\laravel-code-generator\templates\default-collective]

Steps/Commands To Reproduce:

from fresh Laravel Instalation, and add "crestapps/laravel-code-generator": "2.3.x-dev", to composer.json, after run composer update run php artisan vendor:publish

Content Of The Resource-File:

MikeAlhayek commented 6 years ago

I’ll check to see why you are running into that error.

Note that in 2.3-dev you don’t need to publish the resource like we do in 2.2

MikeAlhayek commented 6 years ago

This issue is fixed now. But like mentioned above, unless you have a good reason to publish, you should not need to publish the resource.