<script setup>
import { useRouter } from 'vue-router';
const router = useRouter();
</script>

<template>
    <div v-if="router.currentRoute.value.fullPath === '/users/list'">
        <button class="btn btn-primary" @click="router.push({ name: 'user-registration' })">
            Зарегистрировать пользователя
        </button>
    </div>
    <router-view></router-view>
</template>

<style></style>
