|
|
@ -17,14 +17,18 @@ export default defineNuxtConfig({ |
|
|
|
ssr: false, |
|
|
|
ssr: false, |
|
|
|
|
|
|
|
|
|
|
|
app: { |
|
|
|
app: { |
|
|
|
pageTransition: { |
|
|
|
pageTransition: process.env.NUXT_PAGE_TRANSITION_DISABLE |
|
|
|
name: 'page', |
|
|
|
? false |
|
|
|
mode: 'out-in', |
|
|
|
: { |
|
|
|
}, |
|
|
|
name: 'page', |
|
|
|
layoutTransition: { |
|
|
|
mode: 'out-in', |
|
|
|
name: 'layout', |
|
|
|
}, |
|
|
|
mode: 'out-in', |
|
|
|
layoutTransition: process.env.NUXT_PAGE_TRANSITION_DISABLE |
|
|
|
}, |
|
|
|
? false |
|
|
|
|
|
|
|
: { |
|
|
|
|
|
|
|
name: 'layout', |
|
|
|
|
|
|
|
mode: 'out-in', |
|
|
|
|
|
|
|
}, |
|
|
|
/** In production build we need to load assets using relative path, to achieve the result we are using cdnURL */ |
|
|
|
/** In production build we need to load assets using relative path, to achieve the result we are using cdnURL */ |
|
|
|
cdnURL: process.env.NODE_ENV === 'production' ? '.' : undefined, |
|
|
|
cdnURL: process.env.NODE_ENV === 'production' ? '.' : undefined, |
|
|
|
}, |
|
|
|
}, |
|
|
|