Vuex Store - 볼 수 있도록 상태 저장소에서 데이터 가져오기 상태 저장소에 있는 개체의 데이터를 구성 요소 필드에 표시하는 방법 Vuex: state: books: [], // this object has id, title, genre actions: allBooks(context) { axios .get('/api/books') .then(response => context.commit('SET_BOOKS', response.data)) .catch(error => console.log(error)) }, mutations: SET_BOOKS(state, books) { state.books = books }, 구성 요소: created() { this.$store.dispatch('allBo..