Skip to content

obsidianlabs-io/obsidian-admin-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

166 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Obsidian Admin Vue

English | 中文

license node pnpm

Project Positioning

Note

Obsidian Admin Vue is a Vue 3 admin frontend baseline for enterprise back-office systems and SaaS platforms. It is deeply rebuilt on top of SoybeanAdmin, preserving its mature UI and layout foundation while redefining the frontend architecture around multi-tenancy, contract-driven APIs, runtime configuration, and long-term maintainability.

If you need an admin frontend that can evolve with a serious backend contract, rather than a demo-first template, this project is built for that use case.

Why Use It

  • Contract-driven collaboration: generates SDKs and typings from backend OpenAPI and contract snapshots to reduce frontend/backend drift.
  • Multi-tenant admin behavior: supports tenant context, tenant switching, tenant-isolated views, and permission-aware routing.
  • Runtime-configuration friendly: designed for runtime theme, i18n, and schema/config-driven page behavior.
  • Complete engineering gates: includes lint, typecheck, contract gates, unit tests, conditional E2E, and supply-chain checks.
  • Maintainable at scale: relies on composables, schema-driven patterns, and generation scripts to reduce repeated page-level boilerplate.

Core Capabilities

Foundation

  • Vue 3, Vite 7, TypeScript, Pinia, UnoCSS
  • pnpm workspace / monorepo structure
  • strict TypeScript and ESLint conventions
  • automated file routing and permission routing
  • responsive layout, theme system, and i18n support

Obsidian Enhancements

  • official SDK generation with @hey-api/openapi-ts
  • frontend/backend contract snapshot and compatibility gates
  • multi-tenant tenant context and header switching
  • linked Organization / Team / User / Role / Permission management flows
  • real-time integration with Laravel Echo / Pusher
  • schema-driven CRUD capabilities
  • runtime theme and language configuration collaboration

Engineering Quality

  • pnpm check
  • pnpm typecheck:api
  • pnpm test:unit
  • pnpm test:e2e
  • GitHub Actions: Frontend Quality Gate / Frontend Contract Gate / Frontend Supply Chain
  • CycloneDX SBOM artifact + attestation for release-grade dependency inventory

Use Cases

  • enterprise admin platforms
  • SaaS control panels
  • internal operations systems
  • frontend projects that depend on backend OpenAPI and DTO contracts
  • long-lived Vue admin applications

Quick Start

Requirements

  • git
  • Node.js >= 20.19.0
  • pnpm >= 10.5.0

Key Docs

Public Docs

Public Preview

The preview is published through GitHub Pages. If Pages has not been enabled for the repository yet, this URL will return 404 until the first Pages deployment finishes.

Clone

git clone https://github.com/obsidianlabs-io/obsidian-admin-vue.git
cd obsidian-admin-vue

Install

pnpm install

This repository uses pnpm workspace. Avoid npm or yarn for dependency installation.

Development

pnpm dev

Build

pnpm build

Release Artifacts

Stable release tags now publish downloadable frontend artifacts on the GitHub Release page:

  • production app bundle
  • demo preview bundle
  • Pages bundle (docs + /preview/)

Supply-chain outputs are published separately through GitHub Actions:

  • frontend-sbom-cyclonedx
  • frontend SBOM attestation
  • frontend dist attestation

These are intended for evaluation, static preview hosting, and release verification. This repository remains an application template, not an npm-distributed UI package.

Recommended Developer Workflow

Local Quality Checks

# Generate and verify i18n typings
pnpm i18n:types:check

# Unified local quality entrypoint
pnpm check

# CI-parity local checks
pnpm check:ci

# Auto-format supported files
pnpm format

API Contract Workflow

# Validate frontend API contract snapshot
pnpm contract:check

# Regenerate frontend API contract snapshot
pnpm contract:write

# Validate compatibility with the Laravel backend snapshot
pnpm contract:backend

# Generate frontend typings and official Axios SDK from Laravel backend artifacts
pnpm api:types

# Remote-first API generation
pnpm generate-api

# Generate official openapi-ts Axios SDK only
pnpm openapi:client:official

# Generate and verify committed API typings
pnpm typecheck:api

Strict contract gating lives in:

  • .github/workflows/contract-gate.yml

Current rules:

  • BACKEND_REPO is optional and defaults to obsidianlabs-io/obsidian-admin-laravel
  • BACKEND_REPO_TOKEN is only needed when the backend repository is private
  • missing docs/api-contract.snapshot in the backend checkout fails the workflow

Recommended Companion Backend

For the full contract-driven workflow, pair this frontend with:

Acknowledgements

Obsidian Admin Vue continues to build on the strong foundation of SoybeanAdmin.

Its UI components, layout system, and UnoCSS baseline provided the upstream foundation that made this project possible. If this project is useful to you, consider starring the original SoybeanAdmin repository as well.

License

Released under the MIT License.

Copyright © 2026 Obsidian Labs & SoybeanJS Contributors.

About

Obsidian Admin Vue is a production-ready Vue 3 admin frontend for enterprise back-office systems and SaaS platforms. It emphasizes generated API contracts, strict type safety, tenant-aware UI behavior, runtime configuration, and long-term maintainability.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors