Laravel 5.7 vueJS component is mounted but not in devtools












0















So i've been pulling my hair out on this problem basically i have my component run a console log code that shows that the component was mounted. but it's not in the dev tools. I have checked i'm on local development env on the config and it also shows in the screenshot that I am. I also put the component in the page I am making it's just not viewable in the devtools. I also tried



window.Vue.config.devtools = true;
window.Vue.config.debug = true;
window.Vue.config.silent = false;


but no luck. Any idea why this is happening?
enter image description here



EDIT:
here is my blade code:



@extends('templates.master')
@section('content')
<div id="app">
<div class="container-fluid">
<div class="animated fadeIn">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="card">
<div class="card-header">
<i class="fa fa-align-justify"></i> Create a data list group
<a href="{{ route('datalist.index') }}" class="btn btn-danger float-right text-light"><b><i class="icon-arrow-left"></i></b></a>
</div>
<div class="card-body">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<form method="POST" action="{{ route('datalist.store') }}">
{{ csrf_field() }}
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" value="{{ old('name') }}" name="name" id="name" aria-describedby="name" placeholder="Enter List Name">
</div>
<div class="form-group">
<label for="data_list_group_id">Select a group this list belongs to</label>
<select name="data_list_group_id" class="form-control" id="data_list_group_id" required>
@foreach($groups as $group)
<option value="{{ $group->id }}">{{ $group->name }}</option>
@endforeach
</select>
</div>
<label>Addional Columns</label>
<datalist-column></datalist-column>
@include('snippets.dialogs')
<button type="submit" class="btn btn-primary float-right">Create</button>
</form>
</div>
</div>
</div>
</div>
</div>

</div>
</div>
</div>
</div>
@endsection
@section('additionalJS')
<script src="{{ mix('js/app.js') }}"></script>
@endsection


Here is my component code:



<template>
<div>
<div class="input-group mb-3" v-for="(column, index) in columns">
<input type="text" class="form-control" placeholder="Column name" aria-label="Column name" aria-describedby="Column name">
<div class="input-group-append" v-if="(index + 1) == columns.length">
<button class="btn btn-primary" type="button" :id="index" @click="alert('HERE')">Add Column</button>
</div>
</div>
</div>
</template>

<script>
export default {
data(){
return {
columns: [''],
}
},
mounted(){
console.log('Component mounted.');
this.appendColumn('HERE');
},
updated: function () {
},
computed: {},
watch: {},
methods: {
appendColumn(name){
console.log("HERE");
var app = this;
app.columns.push(name);
}
},
components: {}
}
</script>


and here is my app.js code:



/**
* 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.devtools = true;
window.Vue.config.debug = true;
window.Vue.config.silent = false;
/**
* 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.
*/
Vue.component('datalist-column', require('./components/DataList/DataListColumn.vue'));

const app = new Vue({
el: '#app'
});


I'm trying to make it something like this:



enter image description here










share|improve this question

























  • Please include your code. Have you written any data objects or computed properties? As it clearly says This instance has no reactive state.

    – swonder
    Nov 21 '18 at 17:11











  • I have now edited the question it's now included

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:13











  • So the answer to your question is no, you have not written any reactive data.

    – swonder
    Nov 21 '18 at 17:13











  • what does it mean? sorry for being noob. I have it on my .vue component.

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:17











  • it's inside my Vue.component('datalist-column', require('./components/DataList/DataListColumn.vue')); @Mike Rodham

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:17
















0















So i've been pulling my hair out on this problem basically i have my component run a console log code that shows that the component was mounted. but it's not in the dev tools. I have checked i'm on local development env on the config and it also shows in the screenshot that I am. I also put the component in the page I am making it's just not viewable in the devtools. I also tried



window.Vue.config.devtools = true;
window.Vue.config.debug = true;
window.Vue.config.silent = false;


but no luck. Any idea why this is happening?
enter image description here



EDIT:
here is my blade code:



@extends('templates.master')
@section('content')
<div id="app">
<div class="container-fluid">
<div class="animated fadeIn">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="card">
<div class="card-header">
<i class="fa fa-align-justify"></i> Create a data list group
<a href="{{ route('datalist.index') }}" class="btn btn-danger float-right text-light"><b><i class="icon-arrow-left"></i></b></a>
</div>
<div class="card-body">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<form method="POST" action="{{ route('datalist.store') }}">
{{ csrf_field() }}
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" value="{{ old('name') }}" name="name" id="name" aria-describedby="name" placeholder="Enter List Name">
</div>
<div class="form-group">
<label for="data_list_group_id">Select a group this list belongs to</label>
<select name="data_list_group_id" class="form-control" id="data_list_group_id" required>
@foreach($groups as $group)
<option value="{{ $group->id }}">{{ $group->name }}</option>
@endforeach
</select>
</div>
<label>Addional Columns</label>
<datalist-column></datalist-column>
@include('snippets.dialogs')
<button type="submit" class="btn btn-primary float-right">Create</button>
</form>
</div>
</div>
</div>
</div>
</div>

</div>
</div>
</div>
</div>
@endsection
@section('additionalJS')
<script src="{{ mix('js/app.js') }}"></script>
@endsection


Here is my component code:



<template>
<div>
<div class="input-group mb-3" v-for="(column, index) in columns">
<input type="text" class="form-control" placeholder="Column name" aria-label="Column name" aria-describedby="Column name">
<div class="input-group-append" v-if="(index + 1) == columns.length">
<button class="btn btn-primary" type="button" :id="index" @click="alert('HERE')">Add Column</button>
</div>
</div>
</div>
</template>

<script>
export default {
data(){
return {
columns: [''],
}
},
mounted(){
console.log('Component mounted.');
this.appendColumn('HERE');
},
updated: function () {
},
computed: {},
watch: {},
methods: {
appendColumn(name){
console.log("HERE");
var app = this;
app.columns.push(name);
}
},
components: {}
}
</script>


and here is my app.js code:



/**
* 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.devtools = true;
window.Vue.config.debug = true;
window.Vue.config.silent = false;
/**
* 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.
*/
Vue.component('datalist-column', require('./components/DataList/DataListColumn.vue'));

const app = new Vue({
el: '#app'
});


I'm trying to make it something like this:



enter image description here










share|improve this question

























  • Please include your code. Have you written any data objects or computed properties? As it clearly says This instance has no reactive state.

    – swonder
    Nov 21 '18 at 17:11











  • I have now edited the question it's now included

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:13











  • So the answer to your question is no, you have not written any reactive data.

    – swonder
    Nov 21 '18 at 17:13











  • what does it mean? sorry for being noob. I have it on my .vue component.

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:17











  • it's inside my Vue.component('datalist-column', require('./components/DataList/DataListColumn.vue')); @Mike Rodham

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:17














0












0








0








So i've been pulling my hair out on this problem basically i have my component run a console log code that shows that the component was mounted. but it's not in the dev tools. I have checked i'm on local development env on the config and it also shows in the screenshot that I am. I also put the component in the page I am making it's just not viewable in the devtools. I also tried



window.Vue.config.devtools = true;
window.Vue.config.debug = true;
window.Vue.config.silent = false;


but no luck. Any idea why this is happening?
enter image description here



EDIT:
here is my blade code:



@extends('templates.master')
@section('content')
<div id="app">
<div class="container-fluid">
<div class="animated fadeIn">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="card">
<div class="card-header">
<i class="fa fa-align-justify"></i> Create a data list group
<a href="{{ route('datalist.index') }}" class="btn btn-danger float-right text-light"><b><i class="icon-arrow-left"></i></b></a>
</div>
<div class="card-body">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<form method="POST" action="{{ route('datalist.store') }}">
{{ csrf_field() }}
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" value="{{ old('name') }}" name="name" id="name" aria-describedby="name" placeholder="Enter List Name">
</div>
<div class="form-group">
<label for="data_list_group_id">Select a group this list belongs to</label>
<select name="data_list_group_id" class="form-control" id="data_list_group_id" required>
@foreach($groups as $group)
<option value="{{ $group->id }}">{{ $group->name }}</option>
@endforeach
</select>
</div>
<label>Addional Columns</label>
<datalist-column></datalist-column>
@include('snippets.dialogs')
<button type="submit" class="btn btn-primary float-right">Create</button>
</form>
</div>
</div>
</div>
</div>
</div>

</div>
</div>
</div>
</div>
@endsection
@section('additionalJS')
<script src="{{ mix('js/app.js') }}"></script>
@endsection


Here is my component code:



<template>
<div>
<div class="input-group mb-3" v-for="(column, index) in columns">
<input type="text" class="form-control" placeholder="Column name" aria-label="Column name" aria-describedby="Column name">
<div class="input-group-append" v-if="(index + 1) == columns.length">
<button class="btn btn-primary" type="button" :id="index" @click="alert('HERE')">Add Column</button>
</div>
</div>
</div>
</template>

<script>
export default {
data(){
return {
columns: [''],
}
},
mounted(){
console.log('Component mounted.');
this.appendColumn('HERE');
},
updated: function () {
},
computed: {},
watch: {},
methods: {
appendColumn(name){
console.log("HERE");
var app = this;
app.columns.push(name);
}
},
components: {}
}
</script>


and here is my app.js code:



/**
* 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.devtools = true;
window.Vue.config.debug = true;
window.Vue.config.silent = false;
/**
* 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.
*/
Vue.component('datalist-column', require('./components/DataList/DataListColumn.vue'));

const app = new Vue({
el: '#app'
});


I'm trying to make it something like this:



enter image description here










share|improve this question
















So i've been pulling my hair out on this problem basically i have my component run a console log code that shows that the component was mounted. but it's not in the dev tools. I have checked i'm on local development env on the config and it also shows in the screenshot that I am. I also put the component in the page I am making it's just not viewable in the devtools. I also tried



window.Vue.config.devtools = true;
window.Vue.config.debug = true;
window.Vue.config.silent = false;


but no luck. Any idea why this is happening?
enter image description here



EDIT:
here is my blade code:



@extends('templates.master')
@section('content')
<div id="app">
<div class="container-fluid">
<div class="animated fadeIn">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="card">
<div class="card-header">
<i class="fa fa-align-justify"></i> Create a data list group
<a href="{{ route('datalist.index') }}" class="btn btn-danger float-right text-light"><b><i class="icon-arrow-left"></i></b></a>
</div>
<div class="card-body">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<form method="POST" action="{{ route('datalist.store') }}">
{{ csrf_field() }}
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" value="{{ old('name') }}" name="name" id="name" aria-describedby="name" placeholder="Enter List Name">
</div>
<div class="form-group">
<label for="data_list_group_id">Select a group this list belongs to</label>
<select name="data_list_group_id" class="form-control" id="data_list_group_id" required>
@foreach($groups as $group)
<option value="{{ $group->id }}">{{ $group->name }}</option>
@endforeach
</select>
</div>
<label>Addional Columns</label>
<datalist-column></datalist-column>
@include('snippets.dialogs')
<button type="submit" class="btn btn-primary float-right">Create</button>
</form>
</div>
</div>
</div>
</div>
</div>

</div>
</div>
</div>
</div>
@endsection
@section('additionalJS')
<script src="{{ mix('js/app.js') }}"></script>
@endsection


Here is my component code:



<template>
<div>
<div class="input-group mb-3" v-for="(column, index) in columns">
<input type="text" class="form-control" placeholder="Column name" aria-label="Column name" aria-describedby="Column name">
<div class="input-group-append" v-if="(index + 1) == columns.length">
<button class="btn btn-primary" type="button" :id="index" @click="alert('HERE')">Add Column</button>
</div>
</div>
</div>
</template>

<script>
export default {
data(){
return {
columns: [''],
}
},
mounted(){
console.log('Component mounted.');
this.appendColumn('HERE');
},
updated: function () {
},
computed: {},
watch: {},
methods: {
appendColumn(name){
console.log("HERE");
var app = this;
app.columns.push(name);
}
},
components: {}
}
</script>


and here is my app.js code:



/**
* 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.devtools = true;
window.Vue.config.debug = true;
window.Vue.config.silent = false;
/**
* 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.
*/
Vue.component('datalist-column', require('./components/DataList/DataListColumn.vue'));

const app = new Vue({
el: '#app'
});


I'm trying to make it something like this:



enter image description here







laravel vue.js






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 '18 at 17:20







Keannu Alforque Atilano

















asked Nov 21 '18 at 16:53









Keannu Alforque AtilanoKeannu Alforque Atilano

1371214




1371214













  • Please include your code. Have you written any data objects or computed properties? As it clearly says This instance has no reactive state.

    – swonder
    Nov 21 '18 at 17:11











  • I have now edited the question it's now included

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:13











  • So the answer to your question is no, you have not written any reactive data.

    – swonder
    Nov 21 '18 at 17:13











  • what does it mean? sorry for being noob. I have it on my .vue component.

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:17











  • it's inside my Vue.component('datalist-column', require('./components/DataList/DataListColumn.vue')); @Mike Rodham

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:17



















  • Please include your code. Have you written any data objects or computed properties? As it clearly says This instance has no reactive state.

    – swonder
    Nov 21 '18 at 17:11











  • I have now edited the question it's now included

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:13











  • So the answer to your question is no, you have not written any reactive data.

    – swonder
    Nov 21 '18 at 17:13











  • what does it mean? sorry for being noob. I have it on my .vue component.

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:17











  • it's inside my Vue.component('datalist-column', require('./components/DataList/DataListColumn.vue')); @Mike Rodham

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:17

















Please include your code. Have you written any data objects or computed properties? As it clearly says This instance has no reactive state.

– swonder
Nov 21 '18 at 17:11





Please include your code. Have you written any data objects or computed properties? As it clearly says This instance has no reactive state.

– swonder
Nov 21 '18 at 17:11













I have now edited the question it's now included

– Keannu Alforque Atilano
Nov 21 '18 at 17:13





I have now edited the question it's now included

– Keannu Alforque Atilano
Nov 21 '18 at 17:13













So the answer to your question is no, you have not written any reactive data.

– swonder
Nov 21 '18 at 17:13





So the answer to your question is no, you have not written any reactive data.

– swonder
Nov 21 '18 at 17:13













what does it mean? sorry for being noob. I have it on my .vue component.

– Keannu Alforque Atilano
Nov 21 '18 at 17:17





what does it mean? sorry for being noob. I have it on my .vue component.

– Keannu Alforque Atilano
Nov 21 '18 at 17:17













it's inside my Vue.component('datalist-column', require('./components/DataList/DataListColumn.vue')); @Mike Rodham

– Keannu Alforque Atilano
Nov 21 '18 at 17:17





it's inside my Vue.component('datalist-column', require('./components/DataList/DataListColumn.vue')); @Mike Rodham

– Keannu Alforque Atilano
Nov 21 '18 at 17:17












1 Answer
1






active

oldest

votes


















0














You have no reactive state meaning you have not specified one. You can specify one like this.



const app = new Vue({
el: '#app',
data() {
return {
message: 'hello, world!'
}
}
});


You'll find all this great stuff and more right here on the documentation






share|improve this answer
























  • I have in my .vue component export default { data(){ return { columns: [''], } }, mounted(){ console.log('Component mounted.'); this.appendColumn('HERE'); }, updated: function () { }, computed: {}, watch: {}, methods: { appendColumn(name){ console.log("HERE"); var app = this; app.columns.push(name); } }, components: {} }

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:16











  • But you're looking at your root which doesn't include any data.

    – swonder
    Nov 21 '18 at 17:17











  • yes that's the problem. The root has no data only the component which is not found in devtools.

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:18











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53416989%2flaravel-5-7-vuejs-component-is-mounted-but-not-in-devtools%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You have no reactive state meaning you have not specified one. You can specify one like this.



const app = new Vue({
el: '#app',
data() {
return {
message: 'hello, world!'
}
}
});


You'll find all this great stuff and more right here on the documentation






share|improve this answer
























  • I have in my .vue component export default { data(){ return { columns: [''], } }, mounted(){ console.log('Component mounted.'); this.appendColumn('HERE'); }, updated: function () { }, computed: {}, watch: {}, methods: { appendColumn(name){ console.log("HERE"); var app = this; app.columns.push(name); } }, components: {} }

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:16











  • But you're looking at your root which doesn't include any data.

    – swonder
    Nov 21 '18 at 17:17











  • yes that's the problem. The root has no data only the component which is not found in devtools.

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:18
















0














You have no reactive state meaning you have not specified one. You can specify one like this.



const app = new Vue({
el: '#app',
data() {
return {
message: 'hello, world!'
}
}
});


You'll find all this great stuff and more right here on the documentation






share|improve this answer
























  • I have in my .vue component export default { data(){ return { columns: [''], } }, mounted(){ console.log('Component mounted.'); this.appendColumn('HERE'); }, updated: function () { }, computed: {}, watch: {}, methods: { appendColumn(name){ console.log("HERE"); var app = this; app.columns.push(name); } }, components: {} }

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:16











  • But you're looking at your root which doesn't include any data.

    – swonder
    Nov 21 '18 at 17:17











  • yes that's the problem. The root has no data only the component which is not found in devtools.

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:18














0












0








0







You have no reactive state meaning you have not specified one. You can specify one like this.



const app = new Vue({
el: '#app',
data() {
return {
message: 'hello, world!'
}
}
});


You'll find all this great stuff and more right here on the documentation






share|improve this answer













You have no reactive state meaning you have not specified one. You can specify one like this.



const app = new Vue({
el: '#app',
data() {
return {
message: 'hello, world!'
}
}
});


You'll find all this great stuff and more right here on the documentation







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 21 '18 at 17:15









swonderswonder

564521




564521













  • I have in my .vue component export default { data(){ return { columns: [''], } }, mounted(){ console.log('Component mounted.'); this.appendColumn('HERE'); }, updated: function () { }, computed: {}, watch: {}, methods: { appendColumn(name){ console.log("HERE"); var app = this; app.columns.push(name); } }, components: {} }

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:16











  • But you're looking at your root which doesn't include any data.

    – swonder
    Nov 21 '18 at 17:17











  • yes that's the problem. The root has no data only the component which is not found in devtools.

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:18



















  • I have in my .vue component export default { data(){ return { columns: [''], } }, mounted(){ console.log('Component mounted.'); this.appendColumn('HERE'); }, updated: function () { }, computed: {}, watch: {}, methods: { appendColumn(name){ console.log("HERE"); var app = this; app.columns.push(name); } }, components: {} }

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:16











  • But you're looking at your root which doesn't include any data.

    – swonder
    Nov 21 '18 at 17:17











  • yes that's the problem. The root has no data only the component which is not found in devtools.

    – Keannu Alforque Atilano
    Nov 21 '18 at 17:18

















I have in my .vue component export default { data(){ return { columns: [''], } }, mounted(){ console.log('Component mounted.'); this.appendColumn('HERE'); }, updated: function () { }, computed: {}, watch: {}, methods: { appendColumn(name){ console.log("HERE"); var app = this; app.columns.push(name); } }, components: {} }

– Keannu Alforque Atilano
Nov 21 '18 at 17:16





I have in my .vue component export default { data(){ return { columns: [''], } }, mounted(){ console.log('Component mounted.'); this.appendColumn('HERE'); }, updated: function () { }, computed: {}, watch: {}, methods: { appendColumn(name){ console.log("HERE"); var app = this; app.columns.push(name); } }, components: {} }

– Keannu Alforque Atilano
Nov 21 '18 at 17:16













But you're looking at your root which doesn't include any data.

– swonder
Nov 21 '18 at 17:17





But you're looking at your root which doesn't include any data.

– swonder
Nov 21 '18 at 17:17













yes that's the problem. The root has no data only the component which is not found in devtools.

– Keannu Alforque Atilano
Nov 21 '18 at 17:18





yes that's the problem. The root has no data only the component which is not found in devtools.

– Keannu Alforque Atilano
Nov 21 '18 at 17:18




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53416989%2flaravel-5-7-vuejs-component-is-mounted-but-not-in-devtools%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()