diff --git a/docs/cookbook/integrating-shadcn-ui.md b/docs/cookbook/integrating-shadcn-ui.md index 0d76c69b..3b682a8d 100644 --- a/docs/cookbook/integrating-shadcn-ui.md +++ b/docs/cookbook/integrating-shadcn-ui.md @@ -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) diff --git a/docs/guide/configuration.md b/docs/guide/configuration.md index 6529e739..0ed0a138 100644 --- a/docs/guide/configuration.md +++ b/docs/guide/configuration.md @@ -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. diff --git a/docs/guide/merging-props.md b/docs/guide/merging-props.md index 4e08939c..35b21d4a 100644 --- a/docs/guide/merging-props.md +++ b/docs/guide/merging-props.md @@ -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.