Skip to content

Commit

Permalink
nuxt-seo removed
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelorodrigo committed Dec 18, 2024
1 parent 161dd3e commit 99a4cc5
Show file tree
Hide file tree
Showing 4 changed files with 530 additions and 1,267 deletions.
1 change: 0 additions & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
</v-app-bar>
<v-main>
<v-container fluid>
<SeoKit />
<NuxtPage />
</v-container>
</v-main>
Expand Down
14 changes: 12 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,24 +54,29 @@ export default defineNuxtConfig({
},
pageTransition: {name: 'page', mode: 'out-in'}
},

build: {
transpile: ['vuetify'],
},

modules: [
'@pinia/nuxt',
'@pinia-plugin-persistedstate/nuxt',
'@nuxtjs/seo',
'nuxt-schema-org',
(_options, nuxt) => {
nuxt.hooks.hook('vite:extendConfig', (config) => {
// @ts-expect-error
config.plugins.push(vuetify({autoImport: true}))
})
}
],

devtools: {enabled: true},

piniaPersistedstate: {
storage: 'localStorage'
},

vuetify: {
vuetifyOptions: {},
moduleOptions: {
Expand All @@ -84,21 +89,26 @@ export default defineNuxtConfig({
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'
},

vite: {
vue: {
template: {
transformAssetUrls,
},
},
},
})

compatibilityDate: '2024-12-18',
})
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxt/test-utils": "^3.15.1",
"@nuxtjs/seo": "^2.0.0-rc.10",
"@pinia-plugin-persistedstate/nuxt": "^1.1.1",
"@vitejs/plugin-vue": "^5.2.1",
"jsdom": "^25.0.0",
Expand All @@ -23,6 +22,7 @@
},
"dependencies": {
"@mdi/font": "^7.4.47",
"@pinia/nuxt": "^0.5.1"
"@pinia/nuxt": "^0.5.1",
"nuxt-schema-org": "^4.0.4"
}
}
Loading

0 comments on commit 99a4cc5

Please sign in to comment.