feat: overnight-runner 入 SDD、dev-build 全栈编排,并落地 ACC-account

将 overnight-runner skill 无前缀并入套件;dev-build 编排自测/UI/代码评审;指南左侧导航;example 实现账号能力与 progress。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ning-inspire
2026-11-17 16:56:57 +08:00
parent 972a031654
commit fc7521d6f9
154 changed files with 6688 additions and 498 deletions

View File

@@ -4,7 +4,25 @@ const router = createRouter({
history: createWebHistory(),
routes: [
{ path: '/', name: 'home', component: () => import('@/views/home/HomePage.vue') },
{
path: '/user/login',
name: 'user-login',
component: () => import('@/views/auth/Login.vue'),
},
{
path: '/user/profile',
name: 'user-profile',
component: () => import('@/views/user/Profile.vue'),
meta: { requiresAuth: true },
},
],
})
router.beforeEach(to => {
const token = localStorage.getItem('token')
if (to.meta.requiresAuth && !token) {
return { path: '/user/login' }
}
})
export default router