add page transition & code highlight

Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
nurRiyad
2023-01-10 22:53:26 +06:00
parent a3873aae9b
commit 3bd747fb83
3 changed files with 40 additions and 0 deletions

11
app.vue
View File

@@ -6,3 +6,14 @@
</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>