将 SB Admin 2 Bootstrap 后台模板移植为 Vue 前端项目
sb-admin-2-vue — Vue 后台模板
作者 jadsonjs
基于 SB Admin 2 Bootstrap 模板构建的 Vue 前端后台界面项目,不含后端通信,可作为管理后台界面的起点。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
使用 Vue 组件与 Vue Router 组织页面结构
src/assets 与 static/sbadmin 分别存放第三方静态资源和原始 Bootstrap 项目
项目不含后端通信,仅作为通用前端界面使用
采用 MIT 许可,可免费使用、修改、商用和分发
模板详细介绍
sb-admin-2-vue 是一个 Vue 前端项目,将 StartBootstrap 的 SB Admin 2 Bootstrap 后台模板移植到 Vue 中。仓库说明明确指出该项目不与后端通信,只是一个通用前端项目,供后续改造成完整项目使用。
项目结构上,src 目录包含 assets(第三方静态 js 与 css)、components(Vue 组件)、router(Vue 路由文件)、App.vue 与 main.js;static/sbadmin 目录保留原始 Bootstrap 项目文件。README 提到项目由 Vue CLI 生成,并给出克隆、安装依赖、本地运行与生产构建的命令。
生产构建部分有额外限制:由于 sb-admin 的 js 和 css 文件直接写在 index.html 中,构建前需要把这些文件的路径改为包含应用名(默认 dist)的前缀,再执行构建命令生成 dist 目录,并部署到 HTTP 服务器上。
适合你的项目吗?
适用场景
- 需要一个现成的 Bootstrap 风格后台界面作为前端起点
- 希望用 Vue 组件方式复用 SB Admin 2 的页面布局
- 在无后端接口的情况下先搭建管理后台的前端外壳
- 学习 Vue CLI 项目结构与后台模板移植方式
适合人群
- 需要快速搭建后台界面原型的前端开发者
- 熟悉 Vue 与 Bootstrap、希望自行接入后端接口的团队
- 把 SB Admin 2 模板迁移到 Vue 技术栈的项目
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
先安装 Node.js(含 npm),再全局安装 Vue CLI
- 2
克隆仓库后执行 npm install 安装依赖,npm run dev 启动本地开发,默认访问 http://localhost:8080
- 3
生产构建前需将 index.html 中 sb-admin 的 js 与 css 路径改为带 dist 前缀,再执行 npm run build
- 4
构建生成的 dist 目录可部署到 Node.js 静态文件服务器、Apache、Tomcat 或 PM2 等 HTTP 服务器
- 5
若重命名 dist 目录,需同步修改 config/index.js 中的 public path
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 项目仅为纯前端界面,不含任何后端通信或数据接口,需自行接入后端才能成为完整应用。
- 生产构建前必须手动修改 index.html 中 sb-admin 的 js 与 css 文件路径,加上应用名(默认 dist)前缀,否则部署后可能无法正常加载。
- 若重命名 dist 目录,还需同步修改 config/index.js 中的 public path,否则资源路径会失效。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
This project has no communication with back-end, it is just a generic font-end project to be adapted to a full project.
README 原文
First of all, to run for production you need to change the path of this files to include the "appname" folder.
README 原文
https://github.com/jadsonjs/sb-admin-2-vue/blob/master/LICENSEhttps://github.com/jadsonjs/sb-admin-2-vue/blob/master/README.mdIn this case, you will need to change the public path to your "app name" in config/index.js
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 65 / 100
- 技术栈
- Vue · HTML
- 网站类型
- 后台
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2022-01-15
- 截图检查日期
- 2026-10-02
目前没有记录演示链接。请依据仓库说明在本地评估;仅凭截图无法确认交互行为。
目录记录的主要技术栈是 Vue。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 7207de21d22ebbaee83289ef503cae62d07b5148e1fdc0c62da7f6cd96a9c4af
2026-10-02T18:34:58.939Z
来源文件 / 仓库# sb-admin-2-vue
A vue.js project with sb-admin-2 bootstrap template.
SB Admin 2 Vue is an **Vue** front-end application based on [SB Admin 2](https://startbootstrap.com/template-overviews/sb-admin-2/) Bootstrap template

<p align="center">
<strong>
<a href="https://blackrockdigital.github.io/startbootstrap-sb-admin-2/pages/index.html" target="_blank">View HTML Demo Version of Original SB Admin 2</a>
</strong>
</p>
This project has no communication with back-end, it is just a generic font-end project to be adapted to a full project.
**Version 1.0.0**
The project structure:
```
├── src/ # root folder of the projects
| ├── assets/ # third-party static js and css files
| ├── components/ # Vue.js components
| | └── ...
| ├── router/
| | └── index.js / # Vue.js router file
| └── main.js
| └── App.vue # Vue main component
├── static/
| ├── sbadmin/ # original boostrap project
```
## 1.Introduction
This project was generated with [Vue CLI](https://cli.vuejs.org/) version 2.9.6.
## 2.Getting Started
```
git clone https://github.com/jadsonjs/sb-admin-2-vue.git
```
## 3. Install Node.js and Vue-CLI
You first need to install [NodeJs](https://nodejs.org/en/) thats include npm.
After install node.js, you need to install Vue CLI:
```
npm install -g @vue/cli (vue cli 3)
```
## 4. Build the project
```
cd sb-admin-2-vue
npm install
npm run dev
```
Open the web brower in http://localhost:8080
## 5. Build for production
As the js and css files of sb-admin were include directy in the index.html pages.
First of all, to run for production you need to change the path of this files to include the "appname" folder.
The default name of app is *_"dist"_*.
So include the "/dist" in the begining of the path to these files. After that, run the command:
```
npm run build
```
This command will generate a *_"dist"_* folder.
Serve it on some HTTP server like Node.js static file server, apache, tomcat or PM2.
See https://cli.vuejs.org/guide/deployment.html#general-guidelines
You can also rename the "dist" folder to the your "app name".
In this case, you will need to change the public path to your "app name" in config/index.js
https://stackoverflow.com/questions/48578498/vue-webpack-build-show-blank-page
If you rename the path on index.html files to include the "dist" and server the "dist" folder on a http server .
Open the web brower in http://localhost:8080/dist
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

vuestic-admin
Vuestic Admin is an open-source, ready-to-use admin template suite designed for rapid development, easy mainte…
Vue · 后台

v3-admin-vite
v3-admin-vite 是一个主打 AI 编程友好体验的 Vue3 后台管理模板,基于 Vue3、Vite、TypeScript、Element Plus 构建。
Vue · 后台

vue-typescript-admin-template
vue-typescript-admin-template 是一套面向后台管理界面的前端解决方案,基于 Vue 2.6、TypeScript 和 Element UI 构建。
Vue · 后台

vue-antd-admin
Vue Antd Admin 是 Ant Design Pro 的 Vue 实现版本,目标是为中后台项目提供一套开箱即用的前端与设计解决方案。
Vue · 后台

coreui-free-vue-admin-template
Free Vue Admin & Dashboard Template Built for AI-Assisted Development
Vue · 后台

nova-admin
A simple and flexible admin template based on Vue3, Vite, TypeScript, NaiveUI
Vue · 后台
