Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to publish views ? #15

Closed
DonDiegoAA opened this issue Aug 25, 2019 · 2 comments
Closed

How to publish views ? #15

DonDiegoAA opened this issue Aug 25, 2019 · 2 comments

Comments

@DonDiegoAA
Copy link

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
Copy link
Author

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants