В
Size: a a a
В
В
Д
В
Д
👑R
D
AM
D
D
RD
BS
RD
ВБ
components: true
и не могу понять, почему в блоке code отображается не шаблон из template, а вообще весь код. В чем может быть дело? Пример stories ниже.import TransportLabel from '@/components/ui/TransportLabel'
export default {
title: 'UI/TransportLabel',
component: TransportLabel,
}
const Template = (args, { argTypes }) => ({
components: { TransportLabel },
props: Object.keys(argTypes),
template: '<transport-label v-bind="$props" />',
})
export const Default = Template.bind({})
Default.args = {
icon: 'bus',
time: '50 мин.',
}
l
V
ВБ
V
ВБ
ВБ