Skip to content

Commit 4cfdcc5

Browse files
authored
Update README.md
1 parent b1a2352 commit 4cfdcc5

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ This is the readme for the BETA version of the package for Livewire v3. **If you
1212
### Upgrading
1313

1414
You can use the following command to automate the upgrade process:
15+
1516
```shell
1617
php artisan livewire:upgrade --run-only wire-elements-modal-upgrade
1718
```
@@ -30,6 +31,19 @@ Please review the changes and ensure they follow the new convention set by Livew
3031
<button wire:click="$dispatch('openModal', {component: 'edit-user', arguments: {user: 5}})">Edit User</button>
3132
```
3233

34+
The old component name is being deprecated. Replace `@livewire('livewire-ui-modal')` with `@livewire('wire-elements-modal')`.
35+
36+
The config file has been renamed as well. If you've published the config in the past, you will have to do so again and make the necessary changes:
37+
38+
```shell
39+
php artisan vendor:publish --tag=wire-elements-modal-config
40+
```
41+
42+
After upgrading, make sure to clear your view cache:
43+
44+
```shell
45+
php artisan view:clear
46+
```
3347

3448
## About Wire Elements Modal
3549
Wire Elements Modal is a Livewire component that provides you with a modal that supports multiple child modals while maintaining state.

0 commit comments

Comments
 (0)