Skip to content

Commit

Permalink
Revert "Docs"
Browse files Browse the repository at this point in the history
This reverts commit 938201d.
  • Loading branch information
pascalbaljet committed Nov 6, 2024
1 parent 938201d commit 7ae64b5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
22 changes: 0 additions & 22 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,28 +75,6 @@ createInertiaApp({

:::

## Inertia v2 Vite Configuration

If you're using the beta version of Inertia v2, you need to add some additional configuration to your `vite.config.js` file. Add the following config to the root of the configuration object:

::: code-group

```js [Vue]
resolve: {
dedupe: ['@inertiaui/modal-vue']
}
```

```js [React]
resolve: {
dedupe: ['@inertiaui/modal-react']
}
```

:::

The `dedupe` option is required to prevent the package from being bundled multiple times. This is highly likely an Inertia-specific issue and we're working on a more elegant solution for this.

## Tailwind Configuration

Inertia Modal uses Tailwind CSS for styling. You need to include the package path in the *content* array of your `tailwind.config.js` file:
Expand Down
1 change: 0 additions & 1 deletion docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Here's a summary of the features:
- Reload props in modals
- Easy communication between nested/stacked modals
- Highly configurable
- Integration with [Inertia Table](https://inertiaui.com/inertia-table/docs/inertia-modal-integration)

## Example

Expand Down

0 comments on commit 7ae64b5

Please sign in to comment.