I\'m trying to enable vue-devtools in Google Chrome. But I cannot enable it. I\'m using vue.js inside the Laravel application.
My server runs using
Short Answer for Vue CLI 3.x
If you are using Vue CLI 3.x you can do this by simply adding this script to package.json
scripts: {
"test": "vue-cli-service build --mode=development"
}
Explanation
This was because Vue.config.devtools are set to false by default in production mode as said by this GitHub Issue. But this has a work around, simply by using --mode=development flag provided in the documentation.
Then you can run using npm run test and check the file in your dist/ folder! ;)