File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
1414You can use the following command to automate the upgrade process:
15+
1516``` shell
1617php 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
3549Wire Elements Modal is a Livewire component that provides you with a modal that supports multiple child modals while maintaining state.
You can’t perform that action at this time.
0 commit comments