True, but just like your config files in your package there has to be a way to say in my service provider where my package views are located beceause I'm not using the workbench command I have a custom directory structure.
I've never tried views and custom packages together. You might wanna checkout the http://laravel.com/docs/5.0/packages page. I think that's what you're looking for.
public function boot()
{
$this->loadViewsFrom(__DIR__.'/path/to/views', 'courier');
}
True and that works fine I have used it myself but that peace of code only works in a Laravel 5 package. And the package I'am currently developing is for laravel 4.2 so that code is not going to work.
Thanks for your input and help.
php artisan view:publish td/longstack --path="packages/vendorname/pacakgename/src/views/"
Is the solution, i forgot to specify the folder where alle packages ('packages') are located. Now i publishes the views. Thanks for your help!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community