You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scoped npm packages. The unscoped ruby-native npm package is replaced with two scoped packages published under the Ruby Native org: @ruby-native/react and @ruby-native/vue. Update your imports:
import { NativeTabs } from "ruby-native/react" → import { NativeTabs } from "@ruby-native/react"
import { NativeTabs } from "ruby-native/vue" → import { NativeTabs } from "@ruby-native/vue"
In package.json, replace "ruby-native": "..." with "@ruby-native/react": "^0.6.0" or "@ruby-native/vue": "^0.6.0" depending on your framework.
Fixed
React and Vue Inertia components now build cleanly in Vite consumers. The @inertiajs/* router is imported dynamically (silently skipped when Inertia isn't installed), and react / vue are no longer marked optional in peerDependenciesMeta (only @inertiajs/react and @inertiajs/vue3 remain optional). Previously, Vite's optional-peer-dep shim broke the components' static imports.