Why is Vue.js Chrome Devtools not detecting Vue.js?

后端 未结 13 1679
暖寄归人
暖寄归人 2021-02-01 13:25

I have the following code with a simple working Vue.js application. But the vue.js devtools is not responding. It was working well a few days ago, now it\'s not working anymore

13条回答
  •  北恋
    北恋 (楼主)
    2021-02-01 13:45

    Had the same issue and solved it by adding

    Vue.config.devtools = true;
    

    after Vue.js import script, then take look at chrome devtools. You will see a tab called Vue to inspect your vue instance.

    reference: https://vuejs.org/v2/api/#devtools

提交回复
热议问题