-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.vue
More file actions
27 lines (23 loc) · 709 Bytes
/
app.vue
File metadata and controls
27 lines (23 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<script setup lang="ts">
const userStore = useUserStore();
const articleStore = useArticleStore();
onMounted(async () => {
await userStore.checkAuth();
await articleStore.getAllArticles();
});
</script>
<template>
<Html lang="en">
<Head>
<Title>2binfront</Title>
<Meta name="description" content="Good luck and have fun." />
<link rel="alternate" type="application/rss+xml" title="2binfront - RSS Feed" href="/api/rss.xml" />
<link rel="alternate" type="application/atom+xml" title="2binfront - Atom Feed" href="/api/atom.xml" />
</Head>
<Body>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</Body>
</Html>
</template>