<script>
import Toastify from 'toastify-js';
export default {

  name: "ButtonArea",
  methods: {
    showToast() {
      Toastify({
        text: "请以管理员身份登录",
        duration: 3000,
        close: true
      }).showToast();
    }
  }
}
</script>

<template>
  <div class="mt-4 text-center">
    <router-link to="/APIView">
    <button class="btn btn-secondary w-25 shadow-sm m-2 fs-4"><a>查看API</a></button>
    </router-link>
    <router-link to="/SettingsView">
    <button class="btn btn-secondary w-25 shadow-sm m-2 fs-4"><a>设置</a></button>
    </router-link>
    <router-link to="/DebugView">
    <button class="btn btn-secondary w-25 shadow-sm m-2 fs-4">调试</button>
    </router-link>

  </div>
</template>

<style scoped>
template{
  display: flex;
}
</style>