Recording a problem, the vue project got stuck when loading to 98%. The reason is that some imports in the project did not write the path. Once you find it, add the path or comment it out.
// {
// name: "",
// path: "",
// component: () => import(""),
// hidden: false,
// redirect: "noredirect",
// meta: { title: "首页", icon: "", noCache: true },
// },