Vue devtools不会在Laravel Mix应用程序中显示

时间:2018-03-29 22:56:52

标签: laravel google-chrome vue.js google-chrome-devtools mix

我在相当新的Laravel应用程序中启用Vue dev工具时遇到了麻烦。

我看到了this question,但我不想重置我相信该命令的项目。

我也无法删除制作提示

当我在控制台中window.Vue.config时,我得到以下内容:

{
   ...
   devtools: true
   productionTip: false
}

我的reasources/assets/js/index.js读取:

/**
 * First we will load all of this project's JavaScript dependencies which
 * includes Vue and other libraries. It is a great starting point when
 * building robust, powerful web applications using Vue and Laravel.
 */

require('./bootstrap');

window.Vue = require('vue');

window.Vue.config.productionTip = false
window.Vue.config.devtools = true

/**
 * Next, we will create a fresh Vue application instance and attach it to
 * the page. Then, you may begin adding components to this application
 * or customize the JavaScript scaffolding to fit your unique needs.
 */

import App from './App.vue'

const app = new Vue({
  el: '#app',
  components: { App },
  template: '<App />'
});

尽管如此,这些更改并未反映在实际的开发工具UI

0 个答案:

没有答案