"this" doesnt work without "function" + formatting
This commit is contained in:
@@ -86,10 +86,8 @@ let app = {
|
|||||||
title: 'Vue-Boilerplate',
|
title: 'Vue-Boilerplate',
|
||||||
content: 'Fill this page with <i>whatever</i> you\'re going to develop.<br><b>Then enjoy!</b>'
|
content: 'Fill this page with <i>whatever</i> you\'re going to develop.<br><b>Then enjoy!</b>'
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {},
|
||||||
|
'mounted': function () {
|
||||||
},
|
|
||||||
'mounted': () => {
|
|
||||||
const self = this;
|
const self = this;
|
||||||
console.log('app mounted');
|
console.log('app mounted');
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user