<template>
    <van-tabbar v-model="active" route placeholder>
        <van-tabbar-item icon="home-o"  to="/home" > 首页</van-tabbar-item>
        <van-tabbar-item icon="label-o"  to="/book" >书架</van-tabbar-item>
        <van-tabbar-item icon="apps-o"  to="/cate" >分类</van-tabbar-item>
        <van-tabbar-item icon="friends-o"  to="/user" >我的</van-tabbar-item>
    </van-tabbar>
</template>

<script setup lang="ts">
const active = ref(0)
</script>

<style scoped></style>