sebastienheyd / boilerplate

Laravel AdminLTE 3 Boilerplate package with blade components, users, roles and permissions management
MIT License
219 stars 66 forks source link

How to publish views ? #15

Closed DonDiegoAA closed 5 years ago

DonDiegoAA commented 5 years ago

Hi,

The doc says:

  1. Run the command below to publish assets, views, lang files, ... php artisan vendor:publish --provider="Sebastienheyd\Boilerplate\BoilerplateServiceProvider"

But I don't see boilerplate views in ressources. Is there a way to publish views ?

Thank you

DonDiegoAA commented 5 years ago

Ok, I just had to copy the vendor\sebastienheyd\boilerplate\src\resources\views folder into resources\views\vendor\boilerplate

Sorry for the silly question. Is there a reason why publish does not do this by default ?

sebastienheyd commented 5 years ago

Hi,

At the beginning of the development the package published the views, then I realized that it didn't have to be modified.

The solution of publishing them manually is largely sufficient, because it is necessary only in very specific cases. Too bad, however, that Laraval does not allow you to select what you publish, it would be useful to be able to publish only the views if necessary.