diff --git a/package.json b/package.json index a169370..1366815 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/plugins/scroll.ts b/plugins/scroll.ts index ea3b143..c6b5cb2 100644 --- a/plugins/scroll.ts +++ b/plugins/scroll.ts @@ -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', } } } }) \ No newline at end of file