explaingit

d2-projects/d2-admin

12,647JavaScriptAudience · developerComplexity · 3/5Setup · moderate

TLDR

A ready-made Vue.js frontend template for building admin dashboards that ships with login screens, multi-tab navigation, five themes, charts, a rich text editor, and Excel tools out of the box.

Mindmap

mindmap
  root((d2-admin))
    Built-in Features
      Login screens
      Multi-tab nav
      Five themes
      Collapsible sidebar
    Tools Included
      Rich text editor
      Chart support
      Excel import export
      Error tracking
    Tech Stack
      JavaScript
      Vue.js
      webpack
    Backend Pairings
      Django
      Spring Boot
      Flask
    Audience
      Frontend developers
      Internal tool teams
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Bootstrap an internal admin dashboard with login, sidebar navigation, and multi-tab pages without building common UI from scratch.

USE CASE 2

Connect your own backend API (Django, Spring Boot, Flask, or Beego) to the ready-made Vue frontend.

USE CASE 3

Add charts, rich text editing, and Excel import and export to an admin panel with minimal configuration.

USE CASE 4

Customize one of five built-in visual themes to match your organization's brand before shipping to users.

Tech stack

JavaScriptVue.jswebpack

Getting it running

Difficulty · moderate Time to first run · 30min

Frontend template only, you must build or connect your own backend API separately before it has real data.

In plain English

D2Admin is a ready-made frontend template for building web-based administration dashboards. It is built with Vue.js and is meant to give teams a head start when they need to create an internal management interface, rather than building one from scratch. The project is free and open source. Out of the box it includes features most admin panels need: login and logout screens, a collapsible sidebar, a navigation menu with multi-level support, multi-tab page navigation (opening multiple pages at once like browser tabs), and five visual themes. The initial JavaScript loaded on the home screen is under 60 kilobytes, which the project highlights as a performance consideration. D2Admin also bundles a range of tools for common admin tasks. These include a rich text editor, a Markdown editor, chart support, Excel import and export, clipboard utilities, a global menu search, logging and error tracking, and a right-click context menu. Layout components support drag-and-drop resizing. There are multiple ways to persist state so that data survives page reloads, with options to store data per user or per route. The frontend template is standalone and does not come with a backend. The README lists several open source backend projects from the community that others have built to pair with it, using Django, Spring Boot, Flask, Beego, and other server frameworks. There is also a lightweight starter version for teams that want a smaller starting point without all the built-in extras. Documentation is hosted on a separate website and the project provides both a Chinese and an English README. Live previews are available on GitHub Pages and Netlify so you can see what the interface looks like before downloading anything.

Copy-paste prompts

Prompt 1
I'm using D2Admin as a starting point for an internal tool. Show me how to add a new sidebar menu item that links to a custom orders dashboard page I built in Vue.
Prompt 2
Walk me through connecting D2Admin to a Django REST Framework backend, including where to configure the API base URL and how JWT tokens are stored and sent with requests.
Prompt 3
How do I switch D2Admin from its default theme to a dark theme, and can I add a sixth custom theme with my company's primary and accent colors?
Prompt 4
Show me how to use D2Admin's built-in Excel export feature to let users download a table of filtered records as an xlsx file from an admin list page.
Prompt 5
I want to use D2Admin's error tracking and logging features to capture frontend exceptions and display them in the built-in log viewer. How do I wire that up?
Open on GitHub → Explain another repo

← d2-projects on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.