- Add advanced page/layout transitions (slide, zoom, fade with blur) - Enhance UnoCSS config with keyframes, transitions, and shortcuts - Add staggered animations for stat cards and table rows - Improve sidebar menu animations with slide-in effects - Add custom dialog/drawer transitions with bounce effects - Optimize transition timing with cubic-bezier easing Based on Element Plus transitions guide and Nuxt 4 transitions docs
31 lines
545 B
TypeScript
31 lines
545 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
devtools: { enabled: true },
|
|
|
|
modules: [
|
|
'@nuxt/eslint',
|
|
'@pinia/nuxt',
|
|
'@unocss/nuxt',
|
|
'@element-plus/nuxt'
|
|
],
|
|
|
|
unocss: {},
|
|
|
|
css: [
|
|
'unocss',
|
|
'element-plus/dist/index.css',
|
|
'element-plus/theme-chalk/dark/css-vars.css'
|
|
],
|
|
|
|
app: {
|
|
pageTransition: {
|
|
name: 'page',
|
|
mode: 'out-in'
|
|
},
|
|
layoutTransition: {
|
|
name: 'layout',
|
|
mode: 'out-in'
|
|
}
|
|
}
|
|
}) |