Convert Figma logo to code with AI

soybeanjs logosoybean-admin

A clean, elegant, beautiful and powerful admin template, based on Vue3, Vite5, TypeScript, Pinia, NaiveUI and UnoCSS. 一个清新优雅、高颜值且功能强大的后台管理模板,基于最新的前端技术栈,包括 Vue3, Vite5, TypeScript, Pinia, NaiveUI 和 UnoCSS。

10,569
1,899
10,569
0

Top Related Projects

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

🎉 vue admin,vue3 admin,vue3.0 admin,vue后台管理,vue-admin,vue3.0-admin,admin,vue-admin,vue-element-admin,ant-design,vab admin pro,vab admin plus,vue admin plus,vue admin pro

A modern vue admin panel built with Vue3, Shadcn UI, Vite, TypeScript, and Monorepo. It's fast!

全面ESM+Vue3+Vite+Element-Plus+TypeScript编写的一款后台管理系统(兼容移动端)

Naive Ui Admin 是一款基于 Vue3、Vite3 和 TypeScript 的先进中后台解决方案,集成了前沿的前端技术栈和典型业务模型。它拥有二次封装组件、动态菜单、权限校验、粒子化权限控制等核心功能,旨在帮助企业快速构建高质量的中后台项目。无论在新技术运用或业务实践层面,都能为您提供有力支持,并将持续更新,以满足您不断变化的需求

A clean, elegant, beautiful and powerful admin template, based on Vue3, Vite5, TypeScript, Pinia, NaiveUI and UnoCSS. 一个清新优雅、高颜值且功能强大的后台管理模板,基于最新的前端技术栈,包括 Vue3, Vite5, TypeScript, Pinia, NaiveUI 和 UnoCSS。

Quick Overview

Soybean Admin is a modern, elegant, and feature-rich admin template based on Vue 3, Vite, TypeScript, and UnoCSS. It provides a solid foundation for building responsive and customizable admin interfaces with a focus on performance and developer experience.

Pros

  • Utilizes cutting-edge technologies like Vue 3, Vite, and UnoCSS for improved performance and development experience
  • Offers a wide range of pre-built components and layouts for rapid application development
  • Supports multiple themes and internationalization out of the box
  • Includes comprehensive documentation and examples for easy adoption

Cons

  • Steep learning curve for developers unfamiliar with Vue 3 and TypeScript
  • Limited community support compared to more established admin templates
  • May require additional customization for specific business requirements
  • Frequent updates might lead to compatibility issues with older projects

Getting Started

To get started with Soybean Admin, follow these steps:

  1. Clone the repository:

    git clone https://github.com/soybeanjs/soybean-admin.git
    
  2. Install dependencies:

    pnpm install
    
  3. Start the development server:

    pnpm dev
    
  4. Build for production:

    pnpm build
    

For more detailed instructions and configuration options, refer to the project's documentation on GitHub.

Competitor Comparisons

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

Pros of vue-element-admin

  • More mature and widely adopted, with a larger community and ecosystem
  • Extensive documentation and examples available
  • Includes a rich set of pre-built components and features out of the box

Cons of vue-element-admin

  • Based on Vue 2, which may be considered outdated for new projects
  • Heavier and potentially more complex for simpler applications
  • Less flexibility in terms of customization and modern development practices

Code Comparison

vue-element-admin:

import Vue from 'vue'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(Element, { size: 'small', zIndex: 3000 })

soybean-admin:

import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App)
app.use(ElementPlus)

The code snippets show that vue-element-admin uses Vue 2 syntax and Element UI, while soybean-admin employs Vue 3 composition API and Element Plus. This reflects the more modern approach of soybean-admin, which may offer better performance and maintainability for new projects.

soybean-admin provides a fresh, TypeScript-based alternative with Vue 3 support, making it more suitable for developers looking to leverage the latest Vue features and best practices. However, vue-element-admin's maturity and extensive resources make it a solid choice for those prioritizing stability and comprehensive documentation.

🎉 vue admin,vue3 admin,vue3.0 admin,vue后台管理,vue-admin,vue3.0-admin,admin,vue-admin,vue-element-admin,ant-design,vab admin pro,vab admin plus,vue admin plus,vue admin pro

Pros of vue-admin-better

  • More comprehensive documentation and examples
  • Larger community and more frequent updates
  • Includes built-in support for multiple languages

Cons of vue-admin-better

  • Steeper learning curve due to more complex architecture
  • Heavier bundle size, which may impact performance
  • Less flexibility for customization compared to soybean-admin

Code Comparison

vue-admin-better:

<template>
  <div class="app-container">
    <el-form ref="form" :model="form" label-width="120px">
      <el-form-item label="Activity name">
        <el-input v-model="form.name"></el-input>
      </el-form-item>
    </el-form>
  </div>
</template>

soybean-admin:

<template>
  <n-form
    :model="model"
    label-placement="left"
    label-width="auto"
    require-mark-placement="right-hanging"
    :style="{
      maxWidth: '640px'
    }"
  >
    <n-form-item label="Input">
      <n-input v-model:value="model.inputValue" placeholder="Input" />
    </n-form-item>
  </n-form>
</template>

The code comparison shows that vue-admin-better uses Element UI components, while soybean-admin uses Naive UI components. Both frameworks provide similar form functionality, but with different styling and component naming conventions.

A modern vue admin panel built with Vue3, Shadcn UI, Vite, TypeScript, and Monorepo. It's fast!

Pros of vue-vben-admin

  • More comprehensive documentation, including detailed guides and API references
  • Larger community and more frequent updates, potentially leading to better long-term support
  • Includes more pre-built components and layouts out of the box

Cons of vue-vben-admin

  • Steeper learning curve due to its extensive feature set and configuration options
  • Potentially heavier and more complex, which may impact performance for smaller projects
  • Less flexibility for customization in some areas due to its opinionated structure

Code Comparison

vue-vben-admin:

import { defineComponent } from 'vue';
import { BasicForm, useForm } from '/@/components/Form';
import { formSchema } from './data';

export default defineComponent({
  setup() {
    const [registerForm, { setFieldsValue }] = useForm({
      schemas: formSchema,
    });
    // ...
  },
});

soybean-admin:

import { defineComponent } from 'vue';
import { NForm, NFormItem, NInput } from 'naive-ui';

export default defineComponent({
  setup() {
    const formRef = ref(null);
    const formModel = reactive({
      // form fields
    });
    // ...
  },
});

The code comparison shows that vue-vben-admin uses a more abstracted form setup with schemas, while soybean-admin employs a more direct approach using Naive UI components.

全面ESM+Vue3+Vite+Element-Plus+TypeScript编写的一款后台管理系统(兼容移动端)

Pros of vue-pure-admin

  • More comprehensive documentation, including detailed setup instructions and component usage guides
  • Larger community and more frequent updates, potentially leading to better long-term support
  • Includes a wider range of pre-built components and layouts out of the box

Cons of vue-pure-admin

  • Steeper learning curve due to more complex architecture and additional features
  • Potentially higher resource usage and slower performance in some scenarios
  • Less flexibility for customization in certain areas compared to soybean-admin

Code Comparison

soybean-admin:

<template>
  <n-config-provider :theme="theme">
    <n-loading-bar-provider>
      <n-dialog-provider>
        <n-notification-provider>
          <n-message-provider>
            <AppProvider>
              <RouterView />
            </AppProvider>
          </n-message-provider>
        </n-notification-provider>
      </n-dialog-provider>
    </n-loading-bar-provider>
  </n-config-provider>
</template>

vue-pure-admin:

<template>
  <el-config-provider :locale="locale">
    <router-view v-slot="{ Component, route }">
      <transition :name="setTransitionName(route)" mode="out-in" appear>
        <keep-alive v-if="keepAliveComponents" :include="keepAliveComponents">
          <component :is="Component" :key="route.fullPath" />
        </keep-alive>
        <component v-else :is="Component" :key="route.fullPath" />
      </transition>
    </router-view>
  </el-config-provider>
</template>

Naive Ui Admin 是一款基于 Vue3、Vite3 和 TypeScript 的先进中后台解决方案,集成了前沿的前端技术栈和典型业务模型。它拥有二次封装组件、动态菜单、权限校验、粒子化权限控制等核心功能,旨在帮助企业快速构建高质量的中后台项目。无论在新技术运用或业务实践层面,都能为您提供有力支持,并将持续更新,以满足您不断变化的需求

Pros of naive-ui-admin

  • More comprehensive documentation and examples
  • Larger community and more frequent updates
  • Better integration with Naive UI components

Cons of naive-ui-admin

  • Less customizable theming options
  • Fewer built-in layouts and page templates
  • Steeper learning curve for beginners

Code Comparison

naive-ui-admin:

<template>
  <n-config-provider :theme="theme">
    <n-layout>
      <n-layout-header>Header</n-layout-header>
      <n-layout-content>Content</n-layout-content>
    </n-layout>
  </n-config-provider>
</template>

soybean-admin:

<template>
  <app-provider>
    <router-view />
  </app-provider>
</template>

The code comparison shows that naive-ui-admin uses Naive UI components directly in the template, while soybean-admin employs a more abstracted approach with custom components like app-provider.

naive-ui-admin offers a more straightforward implementation of Naive UI components, which can be beneficial for developers familiar with the library. On the other hand, soybean-admin's abstraction layer may provide more flexibility and easier customization for advanced users.

Both projects aim to simplify admin panel development, but they cater to different developer preferences and skill levels. naive-ui-admin is more suitable for those who want to leverage Naive UI's capabilities directly, while soybean-admin offers a more opinionated and potentially more customizable solution.

A clean, elegant, beautiful and powerful admin template, based on Vue3, Vite5, TypeScript, Pinia, NaiveUI and UnoCSS. 一个清新优雅、高颜值且功能强大的后台管理模板,基于最新的前端技术栈,包括 Vue3, Vite5, TypeScript, Pinia, NaiveUI 和 UnoCSS。

Pros of soybean-admin

  • Identical functionality and features as both repositories are the same project
  • No distinct advantages over the other repository

Cons of soybean-admin

  • No specific disadvantages compared to the other repository
  • Both repositories are essentially the same, so there are no unique drawbacks

Code Comparison

As both repositories are identical, there is no meaningful code comparison to be made. The codebase, structure, and functionality are the same in both cases. Here's a sample of the main entry point from both repositories:

import { createApp } from 'vue';
import App from './App.vue';
import { setupRouter } from './router';
import { setupStore } from './store';
import { setupAssets } from './plugins';

async function setupApp() {
  // Import assets: css, js, etc.
  setupAssets();

  // Create vue app
  const app = createApp(App);

  // Configure store
  setupStore(app);

  // Configure router
  await setupRouter(app);

  // Mount the app
  app.mount('#app');
}

setupApp();

This code is identical in both repositories, as they are the same project. The comparison reveals no differences in implementation or structure.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

SoybeanAdmin

中文 | English

license github stars github forks gitee stars

Featured|HelloGitHub

[!NOTE] 如果您觉得 SoybeanAdmin对您有所帮助,或者您喜欢我们的项目,请在 GitHub 上给我们一个 ⭐️。您的支持是我们持续改进和增加新功能的动力!感谢您的支持!

简介

SoybeanAdmin 是一个清新优雅、高颜值且功能强大的后台管理模板,基于最新的前端技术栈,包括 Vue3, Vite5, TypeScript, Pinia 和 UnoCSS。它内置了丰富的主题配置和组件,代码规范严谨,实现了自动化的文件路由系统。此外,它还采用了基于 ApiFox 的在线Mock数据方案。SoybeanAdmin 为您提供了一站式的后台管理解决方案,无需额外配置,开箱即用。同样是一个快速学习前沿技术的最佳实践。

特性

  • **前沿技术应用**:采用 Vue3, Vite5, TypeScript, Pinia 和 UnoCSS 等最新流行的技术栈。
  • 清晰的项目架构:采用 pnpm monorepo 架构,结构清晰,优雅易懂。
  • 严格的代码规范:遵循 SoybeanJS 规范,集成了eslint, prettier 和 simple-git-hooks,保证代码的规范性。
  • TypeScript: 支持严格的类型检查,提高代码的可维护性。
  • **丰富的主题配置**:内置多样的主题配置,与 UnoCSS 完美结合。
  • 内置国际化方案:轻松实现多语言支持。
  • 自动化文件路由系统:自动生成路由导入、声明和类型。更多细节请查看 Elegant Router。
  • **灵活的权限路由**:同时支持前端静态路由和后端动态路由。
  • **丰富的页面组件**:内置多样页面和组件,包括403、404、500页面,以及布局组件、标签组件、主题配置组件等。
  • **命令行工具**:内置高效的命令行工具,git提交、删除文件、发布等。
  • 移动端适配:完美支持移动端,实现自适应布局。

版本

文档

合作事项

我们非常感谢大家对 SoybeanAdmin 的支持!为了进一步回馈社区,并助力企业和开发者实现个性化需求,我们现提供多种合作服务,期待与您携手共赢。

1、定制化管理后台开发

针对企业和开发者的特定业务需求,我们提供基于 SoybeanAdmin 的定制化管理后台开发服务。我们的团队具备丰富的行业经验,能够迅速理解并实现您的需求,打造高效、灵活且安全的定制化解决方案。

  • 定制开发:我们将根据您的具体需求,提供从需求分析、UI设计到功能实现的全方位服务,确保项目高效交付。
  • 功能扩展:在 SoybeanAdmin 基础上,扩展您所需的特定功能模块,提升管理后台的功能和用户体验。
2、企业外包服务

我们承接各类企业级外包项目,特别是在管理后台系统的开发、集成与运维方面。我们以精益求精的态度,确保项目的质量和进度,为您的业务提供强有力的技术支持。

  • 项目开发:无论是全新的项目,还是现有系统的优化与集成,我们都将为您量身打造高效可靠的解决方案。
  • **系统集成与维护**:我们也提供基于 SoybeanAdmin 的系统集成与长期维护服务,确保您的系统稳定、安全地运行。
3、联系方式

如有合作意向或项目咨询,请通过以下方式与我们联系:

  • Email: soybeanjs@outlook.com
  • GitHub Issues: 欢迎通过 GitHub Issues 联系我们,进行初步的合作洽谈。
  • 商务合作微信: honghuangdc

期待与您开展深入合作,共同推动 SoybeanAdmin 项目及其在更多领域的成功应用!

示例图片

使用

环境准备

确保你的环境满足以下要求:

  • git: 你需要git来克隆和管理项目版本。
  • NodeJS: >=18.12.0,推荐 18.19.0 或更高。
  • pnpm: >= 8.7.0,推荐 8.14.0 或更高。

克隆项目

git clone https://github.com/soybeanjs/soybean-admin.git

安装依赖

pnpm i

由于本项目采用了 pnpm monorepo 的管理方式,因此请不要使用 npm 或 yarn 来安装依赖。

启动项目

pnpm dev

构建项目

pnpm build

代码同步

参考 代码同步 文档。

周边生态

  • react-soybean-admin: 基于SoybeanAdmin的React版本.
  • electron-mock-admin: 一个 Mock Api 管理系统,帮助前端开发伙伴快速实现接口的 mock。
  • T-Shell: 是一个可配置命令提示的终端模拟器和 SSH 客户端。
  • pea : 采用SpringBoot3.2 + JDK21、MyBatis-Plus、SpringSecurity安全框架等,适配 soybean-admin 开发的简单权限系统。
  • MalusAdmin: 基于 Vue3/TypeScript/NaiveUI 和 NET7 & Sqlsugar 开发的后台管理框架。采用最原生最简洁的方式来实现, 前端清新优雅高颜值,后端 结构清晰,优雅易懂,功能强大。
  • PanisAdmin: 采用SpringBoot3、SaToken、MySQL等框架开发,二次修改 soybean-admin,适配动态菜单/按钮级别的鉴权,保留原汁原味、清新优雅、高颜值的后台管理系统脚手架。
  • snail-job: 一款兼具 “高性能、高颜值、高活跃” 的分布式任务重试和分布式任务调度平台。
  • SuperApi: 快速将你的 idea 变成线上稳定运行的产品! 无实体建库建表,对无实体库表进行增删改查,支持 15 种条件查询,以及分页,列表,无限级树形列表 等功能的 API 部署! 拥有接口文档,Auth 授权,接口限流,获取客户端真实 IP,先进的服务器缓存组件,动态 API 等功能,期待您的体验!
  • FastSoyAdmin: 基于 FastAPI+Vue3+Naive UI 的现代化轻量管理平台.

如何贡献

我们热烈欢迎并感谢所有形式的贡献。如果您有任何想法或建议,欢迎通过提交 pull requests 或创建 GitHub issue 来分享。

Git 提交规范

本项目已内置 commit 命令,您可以通过执行 pnpm commit 来生成符合 Conventional Commits 规范的提交信息。在提交PR时,请务必使用 commit 命令来创建提交信息,以确保信息的规范性。

浏览器支持

推荐使用最新版的 Chrome 浏览器进行开发,以获得更好的体验。

IE EdgeFirefoxChromeSafari
not supportlast 2 versionslast 2 versionslast 2 versionslast 2 versions

开源作者

Soybean

贡献者

感谢以下贡献者的贡献。如果您想为本项目做出贡献,请参考 如何贡献。

交流

SoybeanAdmin 是完全开源免费的项目,在帮助开发者更方便地进行中大型管理系统开发,同时也提供微信和 QQ 交流群,使用问题欢迎在群内提问。

QQ交流群

添加下面微信邀请进微信群

Star 趋势

Star History Chart

开源协议

项目基于 MIT © 2021 Soybean 协议,仅供学习参考,商业使用请保留作者版权信息,作者不保证也不承担任何软件的使用风险。