mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
74a90c566c
Co-authored-by: Pooya Parsa <pooya@pi0.io>
15 lines
357 B
TypeScript
15 lines
357 B
TypeScript
import { join } from 'pathe'
|
|
|
|
export default defineNuxtConfig({
|
|
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']
|
|
}
|
|
}
|
|
})
|