Production #13
|
@ -11,7 +11,6 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@artmizu/yandex-metrika-nuxt": "^1.0.4",
|
"@artmizu/yandex-metrika-nuxt": "^1.0.4",
|
||||||
"@monogrid/gainmap-js": "^3.0.5",
|
|
||||||
"@nuxt/image": "^1.7.0",
|
"@nuxt/image": "^1.7.0",
|
||||||
"@nuxtjs/robots": "^3.0.0",
|
"@nuxtjs/robots": "^3.0.0",
|
||||||
"@nuxtjs/tailwindcss": "^6.12.0",
|
"@nuxtjs/tailwindcss": "^6.12.0",
|
||||||
|
@ -23,7 +22,6 @@
|
||||||
"imagemin-pngquant": "^10.0.0",
|
"imagemin-pngquant": "^10.0.0",
|
||||||
"marked": "^12.0.2",
|
"marked": "^12.0.2",
|
||||||
"nuxt": "^3.11.2",
|
"nuxt": "^3.11.2",
|
||||||
"nuxt-anchorscroll": "^1.0.3",
|
|
||||||
"nuxt-icon": "^0.6.10",
|
"nuxt-icon": "^0.6.10",
|
||||||
"nuxt-svgo": "^4.0.1",
|
"nuxt-svgo": "^4.0.1",
|
||||||
"sass": "^1.77.4",
|
"sass": "^1.77.4",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
export default defineNuxtPlugin((nuxtApp) => {
|
export default defineNuxtPlugin((nuxtApp) => {
|
||||||
nuxtApp.$router.options.scrollBehavior = (to, from, savedPosition) => {
|
nuxtApp.$router.options.scrollBehavior = (to, from, savedPosition) => {
|
||||||
if (to.hash) {
|
if (to.hash) {
|
||||||
return { el: to.hash,behavior: 'smooth', }
|
return { el: to.hash, behavior: 'smooth', }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
Loading…
Reference in New Issue