Updated ssr option for SEO.

Signed-off-by: Pavel Kirilin <win10@list.ru>
This commit is contained in:
2021-12-08 12:25:06 +04:00
parent 347edeea90
commit 42ba9ee707
7 changed files with 47 additions and 561 deletions

View File

@ -1,9 +1,9 @@
export default {
// Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode
ssr: false,
// Enable server-side rendering: https://go.nuxtjs.dev/ssr-mode
ssr: true,
// Target: https://go.nuxtjs.dev/config-target
target: 'static',
target: 'server',
// Global page headers: https://go.nuxtjs.dev/config-head
head: {
@ -39,8 +39,6 @@ export default {
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
buildModules: [
// https://go.nuxtjs.dev/typescript
'@nuxt/typescript-build',
// https://go.nuxtjs.dev/stylelint
'@nuxtjs/stylelint-module',
'@nuxtjs/composition-api/module',