In the list component
I want to insert the f7-icon component and text into after
Use the following methods can not achieve the effect
<f7-list-item link="#" title="List Title" footer="List Footer">
<f7-badge slot="media">1</f7-badge>
<template v-slot:after><f7-icon slot="after" ios="f7:flame" aurora="f7:flame" md="material:person"></f7-icon> after text</template>
</f7-list-item>
<f7-list-item link="#" title="List Title" footer="List Footer">
<f7-badge slot="media">1</f7-badge>
<template v-slot:after>
<f7-icon ios="f7:flame" aurora="f7:flame" md="material:person"></f7-icon>
after text
</template>
</f7-list-item>
Doesn’t seem to be inserted into after
Try <template slot="after">
instead of <template v-slot:after>
Still not working, I am using framework7 5.7.12
Then just:
<f7-list-item link="#" title="List Title" footer="List Footer">
<f7-badge slot="media">1</f7-badge>
<f7-icon slot="after" ios="f7:flame" aurora="f7:flame" md="material:person"></f7-icon>
<span slot="after">After text</span>
</f7-list-item>
Thank you, it seems I can only do this