text: import { createRouter, createWebHistory } from 'vue-router'
  import Home from '../views/Home.vue'
  import About from '../views/About.vue'
  import Help from '../views/Help.vue'
  
  const routes = [
      { path: '/', name: 'Home', component: Home },
      { path: '/about', name: 'About', component: About },
      { path: '/help', name: 'Help', component: Help }
  ]
  
  const router = createRouter({
      history: createWebHistory(),
      scrollBehavior(to, from, savedPosition) {
          if (savedPosition) {
            return savedPosition
          } else {
            return { top: 0 }
          }
        },
        routes,
  })
  
  export default router