Please enable JavaScript.
Coggle requires JavaScript to display documents.
js (Vue (Directives (event binding
v-on:click
v-on shortcut is @, event…
js
Vue
-
-
creating/connection vue app instance
const myApp = Vue.createApp({
data() {
return { }
},
computed: { },
watch:{ },
methods: { }
})
myApp.mount('#id');
-
-
-
-
-
Conditional rendering
v-if, v-else, v-else-if
v-show
v-for= '(item, index) in items' :key='id'
-