From 471583cdbb948331f3ddbdda10675d66398ec612 Mon Sep 17 00:00:00 2001 From: Arthur Monney Date: Fri, 17 May 2024 20:40:02 +0200 Subject: [PATCH] wip --- README.md | 43 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 4 deletions(-) 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 ```