Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/cookbook/integrating-shadcn-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,14 @@ Now you can import and use your new button component from `@/components/ui/butto
> [!NOTE]
> Check out the [`shadcn/ui` components gallery](https://ui.shadcn.com/docs/components/accordion) to explore all the beautiful components at your disposal.


## Troubleshooting

If you're using `vite` and see this error `No Tailwind CSS configuration found at path....` (but do have a `tailwind.config.js`) ensure you've imported the CSS properly.

```
@tailwind base;
@tailwind components;
@tailwind utilities;
```

Reference: [Link to Common Github Issue](https://github.com/shadcn-ui/ui/issues/4677)
2 changes: 1 addition & 1 deletion docs/guide/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ See [assets versioning](/guide/asset-versioning).
**Default**: `nil`
**ENV**: `INERTIA_ALWAYS_INCLUDE_ERRORS_HASH`

@available_since rails=master
@available_since rails=3.11.0

Whether to include an empty `errors` hash in the props when no validation errors are present.

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/merging-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ If you have opted to use `deep_merge`, Inertia ensures a deep merge of the entir

### Smart merging with `match_on`

@available_since rails=master core=2.0.13
@available_since rails=3.11.0 core=2.0.13

By default, arrays are simply appended during merging. If you need to update specific items in an array or replace them based on a unique identifier, you can use the `match_on` parameter.

Expand Down