Everything inside b-card renders 'undefined'
See original GitHub issue- Operating system Windows 10 - Browser and version Chrome - Version of Bootstrap-Vue that you are using bootstrap-vue@2.0.0-rc.11
Everything I put in any bootstrap-vue elements renders as undefined:
<template>
<b-card>
test
</b-card>
</template>
Returns the following output:
I’m using a project created with vue-cli and in my main.js have the required lines:
It looks like other people have encountered the same problem: https://stackoverflow.com/questions/50120964/bootstrap-vue-v-tabs-inside-v-card-renders-undefined
Any idea what I’m doing wrong?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Card component is not rendering anything. React bootstrap
I feel like the logic in your code isn't sound. First of all, useState's product doesn't seem to be used OR set (at...
Read more >Template variable warning: 'FALSE' is undefined when ...
What I'm trying to do with the template below is to watch for {Ok } as it comes in and display it as...
Read more >createStackNavigator - React Navigation
This can be undefined in case the screen animating is the last one. progress - Animated node representing the progress value of the...
Read more >Error in render: "TypeError: Cannot read property 'length' of ...
[Vue warn]: Error in render: "TypeError: Cannot read property 'length' of undefined. Hi, I am making a simple quiz with laravel and vue...
Read more >Passing Props to a Component - React Docs
Now you can configure Avatar to render in many different ways with different ... is only used if the size prop is missing...
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
Have been hitting the same issues, I did some debugging, as it turns out this seems to be most likely caused by something related to vue-class-component.
As I am not really familiar with any of the vue code I was not able to really pin point anything, but I have some more information that may be useful.
cardBodyChildren.push(...slots().default)
does fix it even when using ‘mixed’ components. Literally no idea why…TBH I have no idea why that is or what happens, just thought I would share what I was able to find out.
Anyway I will keep digging a bit and share when/if I find anything…
Why closed?