Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanenko3 authored May 17, 2022
1 parent 00f7e90 commit 87712c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ Install the package in a Laravel Nova project via Composer and edit the configur
composer require stepanenko3/nova-menu-collapsed

# Publish the configuration file and edit it to your preference
# NB! If you want custom table names, configure them before running the migrations.
php artisan vendor:publish --tag=nova-menu-builder-config
php artisan vendor:publish --provider="Stepanenko3\NovaMenuCollapsed\ToolServiceProvider" --tag="config"
```

Register the tool with Nova in the `tools()` method of the `NovaServiceProvider`:
Expand All @@ -42,7 +41,7 @@ public function tools()

### Setting up

After publishing the configuration file, you have to make some required changes in the config:
After publishing the configuration file, you have to make some required changes in `config/nova-menu-collapsed.php`:

```php
'collapsed' => true,
Expand Down

0 comments on commit 87712c9

Please sign in to comment.