0👍
You can place default value if slot is not given –
Fallback-Content
How about this:
1 <td v-for="col in cols">
2 <slot :name="col.bSlot" :row="row">
3 {{ formatField(row, col) }}
4 // <-- this is a comment
5 // <span v-html="formatField(row, col)"></span>
6 </slot>
7 </td>
- [Vuejs]-How to access to response data index by javascript
- [Vuejs]-How do I show a HTTP stream in a Vue.js app
Source:stackexchange.com