Production #13

Merged
ksenia_mikhailova merged 22 commits from dev into main 2024-07-08 09:23:32 +03:00
2 changed files with 1 additions and 3 deletions
Showing only changes of commit 805fc7cbee - Show all commits

View File

@ -11,7 +11,6 @@
},
"dependencies": {
"@artmizu/yandex-metrika-nuxt": "^1.0.4",
"@monogrid/gainmap-js": "^3.0.5",
"@nuxt/image": "^1.7.0",
"@nuxtjs/robots": "^3.0.0",
"@nuxtjs/tailwindcss": "^6.12.0",
@ -23,7 +22,6 @@
"imagemin-pngquant": "^10.0.0",
"marked": "^12.0.2",
"nuxt": "^3.11.2",
"nuxt-anchorscroll": "^1.0.3",
"nuxt-icon": "^0.6.10",
"nuxt-svgo": "^4.0.1",
"sass": "^1.77.4",

View File

@ -1,7 +1,7 @@
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.$router.options.scrollBehavior = (to, from, savedPosition) => {
if (to.hash) {
return { el: to.hash,behavior: 'smooth', }
return { el: to.hash, behavior: 'smooth', }
}
}
})