11
app.vue
11
app.vue
@@ -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>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
app: {
|
||||
pageTransition: { name: "page", mode: "out-in" },
|
||||
},
|
||||
typescript: {
|
||||
strict: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user