Nuxt/docs/nuxt.config.ts

19 lines
426 B
TypeScript

import { join } from 'pathe'
export default defineNuxtConfig({
app: {
pageTransition: false,
layoutTransition: false
},
extends: process.env.WEBSITE_THEME ? join(process.env.WEBSITE_THEME, 'theme') : '@nuxt-themes/website',
build: {
transpile: [/content-edge/]
},
nitro: {
prerender: {
crawlLinks: true,
routes: ['/', '/404.html', '/guide/directory-structure/app.config']
}
}
})