Skip to content

Commit

Permalink
Add asset publish groups and update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricewijnia committed May 6, 2019
1 parent fe17e74 commit 0bca945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The Gutenberg editor expects React, ReactDOM, Moment and JQuery to be in the env

When updating Laraberg you have to publish the vendor files again by running this command:
```bash
php artisan vendor:publish --provider='VanOns\Laraberg\LarabergServiceProvider' --force
php artisan vendor:publish --provider='VanOns\Laraberg\LarabergServiceProvider' --tag="public" --force
```

# Configuration
Expand Down
2 changes: 1 addition & 1 deletion src/LarabergServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class LarabergServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->publishes([__DIR__ . '/config/laraberg.php' => config_path('laraberg.php')]);
$this->publishes([__DIR__ . '/config/laraberg.php' => config_path('laraberg.php')], 'config');
require __DIR__ . '/Http/routes.php';
$this->loadMigrationsFrom(__DIR__ . '/database/migrations');
$this->publishes([__DIR__ . '/../public' => public_path('vendor/laraberg')], 'public');
Expand Down

0 comments on commit 0bca945

Please sign in to comment.