feat(frontend): Prettier, add openapi client generation
This commit is contained in:
@@ -34,10 +34,8 @@
|
||||
<template #body>
|
||||
<div>
|
||||
<pre>{{ session }}</pre>
|
||||
<h1>{{ session.data ? "Du bist eingeloggt" : "Nicht eingeloggt" }}</h1>
|
||||
<button v-if="session?.data" @click="authClient.signOut()">
|
||||
Sign out
|
||||
</button>
|
||||
<h1>{{ session.data ? 'Du bist eingeloggt' : 'Nicht eingeloggt' }}</h1>
|
||||
<button v-if="session?.data" @click="authClient.signOut()">Sign out</button>
|
||||
</div>
|
||||
<Register />
|
||||
<Login />
|
||||
@@ -50,26 +48,26 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const session = authClient.useSession();
|
||||
const session = authClient.useSession()
|
||||
|
||||
const items = [
|
||||
[
|
||||
{
|
||||
label: "New mail",
|
||||
icon: "i-lucide-send",
|
||||
to: "/inbox",
|
||||
label: 'New mail',
|
||||
icon: 'i-lucide-send',
|
||||
to: '/inbox'
|
||||
},
|
||||
{
|
||||
label: "New customer",
|
||||
icon: "i-lucide-user-plus",
|
||||
to: "/customers",
|
||||
},
|
||||
],
|
||||
];
|
||||
label: 'New customer',
|
||||
icon: 'i-lucide-user-plus',
|
||||
to: '/customers'
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
const range = shallowRef({
|
||||
start: new Date(),
|
||||
end: new Date(),
|
||||
});
|
||||
const period = ref<string>("daily");
|
||||
end: new Date()
|
||||
})
|
||||
const period = ref<string>('daily')
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user