목록Vue & Nuxt.js (13)
Mi Lugarcito
https://vuejs.org/v2/api/#ref API — Vue.js Vue.js - The Progressive JavaScript Framework vuejs.org 자식의 component 요소를 부모의 page가 참조하기 위해서 사용한다. 이를 사용하면 작업할때마다 새로고침 해서 결과물을 확인할 필요가 없이 바로 적용되는것을 알 수 있다. downOkBtn() { this.downloadStatus = false; this.saveStatus = 'complete'; this.$refs.StudioWorkList.load_data(); },
Page 에서 Component로 데이터 전달하기 Page Component
https://medium.com/@bouncewind0105/request-param-query-body-%EC%9D%98-%EC%B0%A8%EC%9D%B4%EC%A0%90-2e7e4fddd8b9 Request param,query, body 의 차이점 Request 객체는 API를 컨트롤하기 위한 메소드를 셋 담고 있다. medium.com Front 에서 데이터 다르게 받아오는방법 추가 const test = await this.$axios.get("/guest-shop/main-category"); console.log(test.data.data ,' test.data.data')// [{}, {}, {}...] const tabs = (await this.$axios.get("/guest-sho..