You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the readme for the BETA version of the package for Livewire v3. **If you are looking for the readme for the stable version for Livewire v2 [click here](https://github.com/wire-elements/modal/tree/1.0.0).**
11
+
12
+
9
13
## About Wire Elements Modal
10
14
Wire Elements Modal is a Livewire component that provides you with a modal that supports multiple child modals while maintaining state.
11
15
@@ -18,7 +22,7 @@ Click the image above to read a full article on using the Wire Elements modal pa
18
22
To get started, require the package via Composer:
19
23
20
24
```
21
-
composer require wire-elements/modal
25
+
composer require wire-elements/modal:^2.0@beta
22
26
```
23
27
24
28
## Livewire directive
@@ -33,17 +37,6 @@ Add the Livewire directive `@livewire('livewire-ui-modal')` directive to your te
33
37
</html>
34
38
```
35
39
36
-
## Alpine
37
-
Livewire Elements Modal requires [Alpine](https://github.com/alpinejs/alpine) and the plugin[Focus](https://alpinejs.dev/plugins/focus). You can use the official CDN to quickly include Alpine:
The base modal is made with TailwindCSS. If you use a different CSS framework I recommend that you publish the modal template and change the markup to include the required classes for your CSS framework.
49
42
```shell
@@ -75,30 +68,30 @@ To open a modal you will need to emit an event. To open the `EditUser` modal for
0 commit comments