php - Laravel 4: Publishing a Package's Assets -


how publish package assets? i've found tutorial here: http://laravel-recipes.com/recipes/279

but when tried publish assets workbench, error:

[runtimeexception]           unable publish assets.    asset:publish [--bench[="..."]] [--path[="..."]] [package] 

my command code is:

php artisan asset:publish --bench=mypackage 

how can package assets published.

thank you.

when want publish assets developed , stored in workbench should use --bench flag. in case want publish package in vendor folder provide "myvendor/mypackage".

publishing assets vendor package

php artisan asset:publish "vendor/package" 

publishing assets workbench package

php artisan asset:publish --bench="vendor/package" 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -