b-card footer and header template slots not working
See original GitHub issueFirst of, thanks for all your hard work and time.
The b-card footer (and header) template slot appears to have stopped working in v2.0.0-rc.2.
<b-card>
<strong slot="header">Some header content</strong>
<b-row>Some content</b-row>
<em slot="footer">Some footer content</em>
</b-card>
The header and footer content are not displayed (where they previously did).
- Operating system and version: Mac High Sierra
- Browser and version: Chrome Version 65.0.3325.162 (Official Build) (64-bit)
- Version of Bootstrap-Vue that you are using: v2.0.0-rc.2
- Reduced test cases: https://jsfiddle.net/h1h9g4h2/
Issue Analytics
- State:
- Created 6 years ago
- Reactions:18
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Card | Components - BootstrapVue
A card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background...
Read more >vue.js - Only show slot if it has content - Stack Overflow
Since the above component doesn't contain a footer, it should not be rendered, but it is. I've tried using this.$slots['footer'] , but this ......
Read more >Understanding scoped slots in Vue.js - Binarcode
Some usages for slots usually are: Generic components (Button, Modal, Card, Dropdown, Tabs etc); Layout components (App, Header, Navbar, Footer) ...
Read more >A Comprehensive Guide to Vue Slots - SitePoint
<div id="app"> <card> <template v-slot:header> <h2>Card Header ... above example, we add a name property for the header and footer slots.
Read more >Vue v-slot tutorial with examples - BezKoder
This tutorial shows many Vue v-slot examples: Named Slots example with v-slot, Vue Scoped Slots ... <bkr-card> <template v-slot:header> <img ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
having the same problem here, downgrading to 2.5.15 works.
I can confirm that it is related to vue 2.5.16; backing down to 2.5.15 makes the slots reappear with no other changes anywhere.