cell

    [Vue.js] Vue Bootstrap b-table: 테이블 값에 링크 넣기, column명 변경

    [Vue.js] Vue Bootstrap b-table: 테이블 값에 링크 넣기, column명 변경

    1. b-table 만들기 b-table이 없다면 v-for를 사용해서 배열의 객체를 하나씩 tr, td를 지정해 만들어야 했다. b-table은 배열 객체만 item으로 넣어주면 알아서 테이블을 생성한다. https://bootstrap-vue.org/docs/components/table#table [BootstrapVue Quickly integrate Bootstrap v4 components with Vue.js bootstrap-vue.org](https://bootstrap-vue.org/docs/components/table#table) items에 table에 넣을 배열의 이름을 넣어주면 된다. 결과 사진 2. 테이블 특정 값에 링크 넣기 - 상세 정보로 이동 기존 테이블은 id를 누르면..

출처: https://gmnam.tistory.com/157 [Voyager:티스토리]