Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

163 B
Raw Blame
export default defineNuxtRouteMiddleware(async (to, _) => {
  if (!import.meta.client) return;
  useSidebar().active_id.value = to.params.id as string | null;
});