feat: Add a client-side only user selection interface

This commit is contained in:
2024-09-24 01:05:02 +02:00
committed by florian_briand
parent 3bd0a02b62
commit 5712d898a5
8 changed files with 147 additions and 20 deletions

View File

@ -4,11 +4,5 @@
</div>
</template>
<script>
export default {
name: 'CPSCard',
data() {
return {};
}
};
<script setup>
</script>

View File

@ -1,18 +1,13 @@
<template>
<div>
<h1 class="text-xl">Welcome to your {{ appName }}!</h1>
<p v-if="current_user">Logged in as {{ current_user.name }}</p>
</div>
</template>
<script>
export default {
name: 'HomePage',
data() {
return {
appName: 'Nuxt App'
};
}
};
<script setup lang="ts">
const current_user = useCurrentUser();
const appName = 'Nuxt App';
</script>
<style scoped>