feat: made all components reactive
This commit is contained in:
@@ -1,8 +1,24 @@
|
||||
<template>
|
||||
<div class="vp-raw">
|
||||
<tabs />
|
||||
<tabs v-model="activeTab">
|
||||
<tab name="first" title="Проверка">
|
||||
Проверка
|
||||
</tab>
|
||||
<tab name="second" title="Проверка1">
|
||||
Проверка 2
|
||||
</tab>
|
||||
<tab name="third" title="Проверка2">
|
||||
Проверка 3
|
||||
</tab>
|
||||
<tab name="fourth" title="Проверка3" :disabled="true">
|
||||
Проверка 4
|
||||
</tab>
|
||||
</tabs>
|
||||
current tab: {{ activeTab }}
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { Tabs } from '../../../../src/index'
|
||||
import { ref } from 'vue'
|
||||
import { Tabs, Tab } from '../../../../src/index'
|
||||
const activeTab = ref('')
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user