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