Skip to content

Commit

Permalink
add note about layout
Browse files Browse the repository at this point in the history
  • Loading branch information
emargareten committed Feb 1, 2024
1 parent cfe445b commit 8736adb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -46,6 +46,9 @@ import { Modal } from '/vendor/emargareten/inertia-modal'
</template>
```

> **Note**
> Ensure that the layout remains [persistent](https://inertiajs.com/pages#persistent-layouts) throughout the entire application. If you have multiple layouts, create a base layout that should invoke the modal, using nested layouts.
### Plugin

Set up a `modal` plugin with the same component resolver you use to render Inertia pages.
Expand Down

0 comments on commit 8736adb

Please sign in to comment.