As mentioned by @Fiete the vm
variable wont be available by default.
You need to define vm
globally to access it from the console.
Something like this should work
var vm = new Vue({
el: '#app',
data: {
a: 1
},
router,
template: '<App/>',
components: {
App
}
});
global.vm = vm; //Define you app variable globally
Now you can use vm.$data.PROPERTY
or vm.PROPERTY
.