target not server

This commit is contained in:
Yoann Chaudet
2022-07-20 15:28:26 -07:00
parent 844ceaff5a
commit 7875e4af8a
4 changed files with 4 additions and 4 deletions

2
dist/index.js vendored
View File

@@ -14842,7 +14842,7 @@ function getConfigParserSettings(staticSiteGenerator, path) {
// Set the target to static too
// https://nuxtjs.org/docs/configuration-glossary/configuration-target/
server: 'static'
target: 'static'
}
}
case 'next':

View File

@@ -1,2 +1,2 @@
// Default Pages configuration for Nuxt
export default {server: 'static', router: {base: '/docs/'}}
export default {target: 'static', router: {base: '/docs/'}}

View File

@@ -1,6 +1,6 @@
export default {
// Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode
server: 'static',
target: 'static',
router: { base: "/docs/" },
ssr: false,

View File

@@ -15,7 +15,7 @@ function getConfigParserSettings(staticSiteGenerator, path) {
// Set the target to static too
// https://nuxtjs.org/docs/configuration-glossary/configuration-target/
server: 'static'
target: 'static'
}
}
case 'next':