Back to migration overview

BCard Migration ​

Migration notes for BCard from BootstrapVue to BootstrapVueNext.

View Source Edit this page on GitHub Migration Notes

BCard Migration ​

Summary ​

Migration notes for BCard from BootstrapVue to BootstrapVueNext.

Affected APIs ​

  • BCard
  • BCardImg
  • BCardBody
  • BCardHeader
  • BCardFooter
  • BCardTitle
  • BCardText

Breaking Change ​

Image placement is accomplished by the single img-placement prop, which takes the values top, bottom, start, end, or overlay. This allows us to deprecate the imgBottom, imgEnd, imgLeft, imgRight, imgStart, and imgTop props from BCard.

The sub-title, sub-title-tag and sub-title-text-variant props have been renamed to subtitle, subtitle-tag and subtitle-text-variant, respectively.

See the v-html section for information on deprecation of the footer-html and header-html props on BCard and the html props on BCardFooter and BCardHeader.

Migration Notes ​

  • Extracted from the canonical BootstrapVue → BootstrapVueNext migration guide.
  • Review related migrations for shared prop, event, and slot changes.

Safe Automatic Rewrite ​

Yes. This entry is mostly mechanical and can usually be rewritten automatically when the surrounding code matches the documented patterns.