-
Notifications
You must be signed in to change notification settings - Fork 45
/
app.vue
56 lines (53 loc) · 1.15 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<template>
<!doctype html>
<Html lang="en">
<title>Nuxt 3 Woocommerce</title>
<Body
class="antialiased duration-300 transition-colors text-gray-800 bg-white"
>
<NuxtLayout>
<NuxtLoadingIndicator :height="5" :duration="3000" :throttle="400" />
<NuxtPage />
</NuxtLayout>
</Body>
</Html>
</template>
<script setup>
useHead({
title: "Index",
titleTemplate: "%s - Nuxt 3 Woocommerce",
meta: [
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
hid: "description",
name: "description",
content: "Nuxt 3 Woocommerce",
},
],
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
});
</script>
<style>
.page-enter-active {
transition: all 0.1s ease-out;
}
.page-leave-active {
transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}
.page-enter-from,
.page-leave-to {
transform: translateY(20px);
opacity: 0;
}
.layout-enter-active {
transition: all 0.1s ease-out;
}
.layout-leave-active {
transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}
.layout-enter-from,
.layout-leave-to {
transform: translateY(-20px);
opacity: 0;
}
</style>