Inertia client library import error #45
Unanswered
adamalbrecht
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My app is having trouble loading the inertia client library, even though it loads the default client just fine. Anytime I try to import and use
definePathHelper
from@js-from-routes/inertia
, it throws the following error in the browser:Package.json:
I can see both packages in my
node_modules/
folder.Vue component:
If I switch the import to
@js-from-routes/client
, it works fine.I'm using vite_rails, inertia_rails, and yarn.
Beta Was this translation helpful? Give feedback.
All reactions