Skip to content

Commit

Permalink
Change readme for registering the tool
Browse files Browse the repository at this point in the history
  • Loading branch information
eboye committed Apr 19, 2020
1 parent 84b66f2 commit 73f4afd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ return [

Just add any of the lang files you need.

### Add Nova tool
In your App\Providers\NovaServiceProvider.php, under tools, add

```php
new LaravelNovaTranslationEditor
```

and also the import of the Class
```php
use Eboye\LaravelNovaTranslationEditor\LaravelNovaTranslationEditor;
```

## Screenshots

![screenshot 1](https://raw.githubusercontent.com/eboye/laravel-nova-translation-editor/master/docs/screenshot_1.png)

0 comments on commit 73f4afd

Please sign in to comment.