Open Pentadome opened 2 months ago
Can you share the vue-router
config or try to give a mini repo 🙏
like this?
setupLayouts is from vite-plugin-vue-layouts
.
import { setupLayouts } from 'virtual:generated-layouts';
const router = createRouter({
scrollBehavior: () => ({ left: 0, top: 0 }),
// see: https://uvr.esm.is/guide/extending-routes.html#extending-routes-at-runtime
routes: setupLayouts(routes),
history: createWebHistory(),
});
Devtools causes page to freeze on normalizeRouterInfo -> deepClone -> clone. The clone function keeps calling itself. Sadly I do not know how to reproduce this.