I'm using bootstrap-vue:
<b-container fluid="xl">
<h2>Example</h2>
</b-container>
When using a "fluid" prop, Vue.js gives me a warning in the console:
[Vue warning]: Invalid prop: Type check failed for "fluid" prop. Boolean expected, got String with value "xl".
In bootstrap-vue documentation the "fluid" prop is known to be valid.
How to make Vue.js recognize bootstrap props without generating warnings?
fluid
is a string.The problem might come from another place Have you declaredfluid
anywhere else in code?v2.2.0
in order to get the fluid prop as a string (commit related to this change).