Flag of Ukraine
SymfonyCasts stands united with the people of Ukraine
Next Chapter

Challenge #1 of 1


Q: 

Suppose we have a Vue component that looks like this:

const app = new Vue({
    el: '#app',
    template: '<span class="title">{{ title }}</span>
});

and you want to add title as a new "data" key to this component. How could we do that and set its initial value to Vue challenge!. How would you go about initializing this data?

userVoice