Skip to content

Commit

Permalink
Merge pull request #142 from lara-zeus/update-docs
Browse files Browse the repository at this point in the history
Update configuration.md
  • Loading branch information
atmonshi authored Aug 23, 2023
2 parents 54d138e + 32a1833 commit 037b3cf
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ to configure the plugin Sky, you can pass the configuration to the plugin in `ad
these all the available configuration, and their defaults values

```php
SpatieLaravelTranslatablePlugin::make()
//If you don't use multi-language
->defaultLocales([config('app.locale')])
// or if you have more
->defaultLocales(['en', 'pt']),

FilamentNavigation::make(),

SkyPlugin::make()
->skyPrefix('sky')
->skyMiddleware(['web'])
Expand All @@ -21,10 +29,10 @@ SkyPlugin::make()
])

// enable or disable the resources
->hasPostResource()
->hasPageResource()
->hasFaqResource()
->hasLibraryResource()
->postResource()
->pageResource()
->faqResource()
->libraryResource()

->navigationGroupLabel('Sky')

Expand Down Expand Up @@ -52,7 +60,6 @@ SkyPlugin::make()
'library' => 'Library',
'faq' => 'Faq',
])

```

## Content Editor
Expand Down

0 comments on commit 037b3cf

Please sign in to comment.