1👍
✅
As comment, it is new Vue
not new VUE
.
Also, data
needs to return an object.
new Vue({
el: '#app',
data: function () {
return {
name: 'Dhruv',
};
}
});
Source:stackexchange.com