How to debug NUXT in PHP Storm?

Hello,

 

I am having problems with NUXT IN php Storm, all my

this.$store.dispatch

Are seen as unresolved functions as well as my
export default {

Thank you.
1 comment
Comment actions Permalink

Do you mean that $store is not resolved? In nuxt projects, vuex module where $storis defined is not listed in package.json dependencies and thus not indexed (excluded from project). Please right-click node_modules/vuex folder in the Project toolwindow and choose Mark directory as | Not excluded* from the menu - this should help

 

Note also that no special support for Nuxt is currently provided, please follow https://youtrack.jetbrains.com/issue/WEB-36008 for updates

0

Please sign in to leave a comment.