route is not defined + ESLint #1006
Unanswered
betaSavvy
asked this question in
Help (Vue)
Replies: 2 comments 2 replies
-
can you post the full error and the contents of your app.js? if |
Beta Was this translation helpful? Give feedback.
2 replies
-
this is much later but my preferred way to deal with this is to add the "undefined" global variable to the globals in my eslint config, as shown here: https://eslint.org/docs/latest/use/configure/language-options#using-configuration-files |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Does anyone know how to resolve
'route' is not defined'
error warning from ESLint(no-undef)?Using vuejs 3 composition api + script setup. Apparently route is defined
app.js
withincreateInertiaApp > setup > mixin
)Beta Was this translation helpful? Give feedback.
All reactions