How to ignore route()
not available in PHPStorm? (TS2304: Cannot find name 'route'.)
#511
Unanswered
anburocky3
asked this question in
Q&A
Replies: 2 comments 6 replies
-
Yes, that's right. Not sure about the IDE/eslint stuff, the code itself should work fine as far as I can see.
No, that's not necessary. |
Beta Was this translation helpful? Give feedback.
6 replies
-
This should fix it: #516 (comment) |
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
-
Showing two errors:
Adding extra information:
@routes
blade on the layout page and the routes are generated by the laravel.route()
in any vue page right? If that so, IDE is complaining it can't find it. How to fix it? Any solutions?Update:
ziggy-js
and importing it at every page when i need it. And the IDE error goes off. Is this the good method?Beta Was this translation helpful? Give feedback.
All reactions