Ep17#06 - mapGetters, sử dụng cú pháp ES (ok)

<template>
<div>
{{ result }}
</div>
</template>
<script>
export default {
name: 'AppCount',
computed: {
result(){
return this.$store.state.result;
}
}
}
</script>PreviousEp17#05 - Lấy dữ liệu với getter trong vuex (ok)NextEp17#07 - Mutations thay đổi state từ components (ok)
Last updated