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