问题
I want to start using Vue in my laravel 5.4 app. Without laravel i can see vue devtools inspection tab on chrome. But in my laravel app the Vue tab is not there in chrome console although the chrome vue devtool extension says Vue.js is detected.
How can i enable the Vue devtool inspection in my laravel app?
I tried
Vue.config.debug = true;
Vue.config.devtools = true;
on my app.js file but no luck.
Thanks.
回答1:
try to re-populate vuejs preset:
php artisan preset vue
来源:https://stackoverflow.com/questions/47692009/enable-vue-devtools-inspection-in-laravel-5-4