-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
42 lines (39 loc) · 806 Bytes
/
app.vue
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<script setup>
// import "@/assets/css/carbon-gray-10.css";
import '@/assets/css/carbon-gray-90.css'
const title = 'Hello Carbon Nuxt'
const description
= 'An example application showing Carbon with Vue'
const imageUrl = '/images/site.jpg'
useSeoMeta({
title: title,
ogTitle: title,
description: description,
ogDescription: description,
ogImage: imageUrl,
twitterImage: imageUrl,
twitterCard: 'summary_large_image',
twitterDescription: description,
twitterTitle: title,
})
</script>
<template>
<div>
<NuxtRouteAnnouncer />
<CarbonLoading />
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</div>
</template>
<style>
.page-enter-active,
.page-leave-active {
transition: all 0.4s;
}
.page-enter-from,
.page-leave-to {
opacity: 0;
filter: blur(1rem);
}
</style>