Vue router static paths do not work, vue3

Hello, this is a very simple question!

Why do these paths not work? The redirect works with /en/home but then the /en/ is contstantly omitted

    const router = createRouter({
  history: createWebHistory(),
  routes: [
    { path: "/", redirect: "/en/home" },

    { path: "/en/home", name: "Home", component: Home },
    { path: "/en/projects", name: "Projects", component: Projects },
    { path: "/en/blog", name: "Blog", component: Blog },
    { path: "/en/design", name: "Design", component: Design },
    { path: "/en/about", name: "About", component: About },
    { path: "/en/contact", name: "Contact", component: Contact },
  ],
  scrollBehavior() {
    window.scrollTo(0, 0);
  },
});

Thanks a lot!

I would fully expect that to work. Do you have any other code somewhere else doing a redirect that would remove the /en/?

Thanks James,
Yes of course, the to-attributes in router-link. But it is strange that I don’t get any error message.
I could also add any directory in between within routes[] and the components is nevertheless found by router-link

Can you show the code for a <router-link>that doesn’t work?