diff --git a/README.md b/README.md index 70e68b5..697fb55 100644 --- a/README.md +++ b/README.md @@ -23,14 +23,14 @@ If you've already used it, then the behavior is the same, except that instead of To get started, require the package via Composer -```bash +```shell composer require laravelcm/livewire-slide-overs ``` ### Usage Add the Livewire directive @livewire('slide-over-panel') directive to your master layout. -```bladehtml +```blade
@@ -40,11 +40,46 @@ Add the Livewire directive @livewire('slide-over-panel') directive to your maste ``` -### Test +## Creating a Slide Over +You can run `php artisan make:livewire ShoppingCart` to make the initial Livewire component. Open your component class and make sure it extends the `SlideOverComponent` class: + +```php + + + + + + + + +``` + +### Configuration +wip... + +### Test wip.. -```bash +```shell composer test ```