Compare commits

...

4 Commits

Author SHA1 Message Date
Sébastien Chopin
84fc8c7c88 chore: remove all exclude 2024-11-26 18:34:14 +01:00
Benjamin Canac
1becead74e up
Co-Authored-By: Sébastien Chopin <seb@nuxt.com>
2024-11-26 18:24:02 +01:00
Benjamin Canac
ebaf4c530b up
Co-Authored-By: Sébastien Chopin <seb@nuxt.com>
2024-11-26 18:04:24 +01:00
Benjamin Canac
a7a4824ece docs(nuxt.config): disable prerender 2024-11-26 17:48:12 +01:00

View File

@@ -37,6 +37,11 @@ export default defineNuxtConfig({
}, },
content: { content: {
database: {
type: 'd1',
binding: 'DB'
},
build: { build: {
markdown: { markdown: {
highlight: { highlight: {
@@ -86,32 +91,28 @@ export default defineNuxtConfig({
nitro: { nitro: {
prerender: { prerender: {
routes: [ routes: [
'/getting-started', // '/getting-started',
'/api/countries.json', '/api/countries.json',
'/api/locales.json' '/api/locales.json'
// '/api/releases.json', // '/api/releases.json',
// '/api/pulls.json' // '/api/pulls.json'
], ]
crawlLinks: true, // crawlLinks: true,
autoSubfolderIndex: false // autoSubfolderIndex: false
// ignore: !process.env.NUXT_GITHUB_TOKEN ? ['/pro'] : [] // ignore: !process.env.NUXT_GITHUB_TOKEN ? ['/pro'] : []
}, },
cloudflare: { cloudflare: {
pages: { pages: {
routes: { routes: {
exclude: [ exclude: []
'/components/*',
'/getting-started/*',
'/composables/*',
'/api/*'
]
} }
} }
} }
}, },
hub: { hub: {
cache: true cache: true,
database: true
}, },
componentMeta: { componentMeta: {