wallet-connect-web-examples/dapps/vue-dapp-auth/app.vue
Pavel Yankovski 7e850d66c4
feat(vue-dapp-auth): Add example dapp on Vue 3 (#76)
Co-authored-by: Ben Kremer <contact@bkrem.dev>
2022-11-14 18:13:55 +01:00

28 lines
713 B
Vue

<template>
<main class="tw-py-8 tw-container tw-h-screen tw-flex tw-flex-col">
<div class="tw-flex tw-justify-center">
<nuxt-link :to="{ name: 'index' }" class="tw-pl-2.5 tw-text-lg tw-inline-flex tw-items-center tw-gap-3">
<span class="tw-leading-xs">
Example Vue App
</span>
<wc-label />
</nuxt-link>
</div>
<div class="tw-section tw-flex-1">
<nuxt-page />
</div>
<footer class="tw-flex tw-justify-end">
<switch-theme />
</footer>
</main>
</template>
<script setup lang="ts">
const { authClientVersion } = useRuntimeConfig()
// eslint-disable-next-line no-console
console.log(`AuthClient@${authClientVersion}`)
</script>