Skip to content

Commit

Permalink
Moving from nuxt-seo-kit to @nuxtjs/seo
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelorodrigo committed Jun 17, 2024
1 parent c135b13 commit 74ea34d
Show file tree
Hide file tree
Showing 3 changed files with 1,948 additions and 407 deletions.
27 changes: 19 additions & 8 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,21 @@ export default defineNuxtConfig({
modules: [
'@invictus.codes/nuxt-vuetify',
'@pinia/nuxt',
'@pinia-plugin-persistedstate/nuxt'
'@pinia-plugin-persistedstate/nuxt',
'@nuxtjs/seo'
],
extends: [
'nuxt-seo-kit'
],
runtimeConfig: {
public: {
siteUrl: process.env.NUXT_PUBLIC_SITE_URL || 'https://rendafixa.github.io',
siteName: 'Calculadora Renda Fixa',
siteDescription: 'Calculadora de investimentos Renda Fixa para simulação de ' +
'rentabilidade em CDB, RDB, LC, LCI, LCA, Poupança e Tesouro Direto',
language: 'pt'
siteUrl: process.env.NUXT_PUBLIC_SITE_URL || 'https://rendafixa.github.io',
siteName: 'Calculadora Renda Fixa',
siteDescription: 'Calculadora de investimentos Renda Fixa para simulação de ' +
'rentabilidade em CDB, RDB, LC, LCI, LCA, Poupança e Tesouro Direto',
language: 'pt'
}
},
},
devtools: { enabled: true },
piniaPersistedstate: {
storage: 'localStorage'
Expand All @@ -85,5 +86,15 @@ export default defineNuxtConfig({
autoImport: true,
useVuetifyLabs: false
}
},
seo: {
redirectToCanonicalSiteUrl: true
},
site: {
url: process.env.NUXT_PUBLIC_SITE_URL || 'https://rendafixa.github.io',
name: 'Calculadora Renda Fixa',
description: 'Calculadora de investimentos Renda Fixa para simulação de ' +
'rentabilidade em CDB, RDB, LC, LCI, LCA, Poupança e Tesouro Direto',
defaultLocale: 'pt'
}
})
})
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"@invictus.codes/nuxt-vuetify": "^0.3.0",
"@nuxt/devtools": "latest",
"@nuxt/test-utils": "^3.7.1",
"@nuxtjs/seo": "^2.0.0-rc.10",
"@pinia-plugin-persistedstate/nuxt": "^1.1.1",
"@vitejs/plugin-vue": "^4.3.4",
"jsdom": "^22.1.0",
"nuxt": "^3.11.2",
"nuxt-seo-kit": "^1.3.11",
"vitest": "^1.6.0"
},
"dependencies": {
Expand Down
Loading

0 comments on commit 74ea34d

Please sign in to comment.