2๐
โ
You have a typo, Vue is defined with first letter uppercase, and you should use it this way:
new Vue({
// ...
})
If you open the Console (F12 or ctrl+shift+i), you will see this error:
ReferenceError: vue is not defined
JavaScript is case-sensitive, you should have caution with variable names.
1๐
You should define data as a function in Vue.js. Also, use Vue instead of vue.
new Vue({
el: '#app',
data: function() {
return {
rainy: false
}
}
});
Source:stackexchange.com