From 91f19e057789b35fe28e932b9e7ec8d9fd312dbd Mon Sep 17 00:00:00 2001 From: les Date: Sun, 20 Jun 2021 23:49:28 +0200 Subject: [PATCH] scrollBehavior --- app/router.scrollBehavior.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 app/router.scrollBehavior.js diff --git a/app/router.scrollBehavior.js b/app/router.scrollBehavior.js new file mode 100644 index 00000000..a054e10b --- /dev/null +++ b/app/router.scrollBehavior.js @@ -0,0 +1,3 @@ +export default function (to, from, savedPosition) { + return { x: 0, y: 0 } +}