finds.dev← search

// the find

PanJiaChen/vue-admin-template

★ 20,411 · JavaScript · MIT · updated Apr 2024

a vue2.0 minimal admin template

A minimal Vue 2 admin dashboard starter built on vue-cli, Element UI, axios, and Vuex. It's a stripped-down version of the author's fuller vue-element-admin project — meant to be a clean base you build on rather than a feature-complete admin panel. Aimed at developers who want a working sidebar/auth/routing skeleton without pulling in 200kb of demo pages they'll delete anyway.

The scope is intentionally small — login flow, permission guards, nested routing, and axios interceptors are wired up and working without a wall of extra noise. The mock server setup (mock-server.js running alongside webpack-dev-server) lets you develop completely offline against fake API responses without modifying any actual request code. Permission control is separated cleanly into permission.js with route guards rather than scattered through components. The test coverage on utilities and core components is modest but present, which is more than most admin templates bother with.

This is Vue 2, which reached end-of-life in December 2023 — you're starting a new project on a dead runtime, and Element UI is similarly stuck in Vue 2 land. The mock layer is a dev-server shim that disappears in production with no obvious path to contract testing, so API mismatches tend to surface late. Role-based permission is split across a separate branch rather than included by default, which means the main branch ships with auth scaffolding but no actual role gating — you have to know to go find it. Last meaningful activity on the repo is mid-2024, and Vue 3 migration is documented as out of scope.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →