Convert Figma logo to code with AI

zxwk1998 logovue-admin-better

🎉 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

17,757
3,785
17,757
17

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

Vue3、Element Plus、typescript后台管理系统

A admin template based on vue + element-ui. 基于vue + element-ui的后台管理系统基于 vue + element-ui 的后台管理系统

Vue 2.0 admin management system template based on iView

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

Quick Overview

Vue-admin-better is a comprehensive admin template based on Vue.js, designed to streamline the development of admin interfaces. It offers a rich set of components, layouts, and features to create robust and visually appealing admin panels quickly.

Pros

  • Extensive set of pre-built components and layouts
  • Responsive design for various screen sizes
  • Integrated with popular libraries like Element UI and ECharts
  • Supports both JavaScript and TypeScript

Cons

  • Steep learning curve for developers new to Vue.js
  • Large bundle size due to numerous features and dependencies
  • Limited customization options for some components
  • Documentation primarily in Chinese, which may be challenging for non-Chinese speakers

Code Examples

  1. Creating a basic table component:
<template>
  <el-table :data="tableData" style="width: 100%">
    <el-table-column prop="date" label="Date" width="180" />
    <el-table-column prop="name" label="Name" width="180" />
    <el-table-column prop="address" label="Address" />
  </el-table>
</template>

<script>
export default {
  data() {
    return {
      tableData: [
        {
          date: '2023-05-03',
          name: 'John Doe',
          address: 'New York No. 1 Lake Park',
        },
        // ... more data
      ],
    }
  },
}
</script>
  1. Implementing a basic form:
<template>
  <el-form :model="form" label-width="120px">
    <el-form-item label="Activity name">
      <el-input v-model="form.name" />
    </el-form-item>
    <el-form-item label="Activity zone">
      <el-select v-model="form.region" placeholder="please select your zone">
        <el-option label="Zone one" value="shanghai" />
        <el-option label="Zone two" value="beijing" />
      </el-select>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="onSubmit">Create</el-button>
      <el-button>Cancel</el-button>
    </el-form-item>
  </el-form>
</template>

<script>
export default {
  data() {
    return {
      form: {
        name: '',
        region: '',
      },
    }
  },
  methods: {
    onSubmit() {
      console.log('submit!', this.form)
    },
  },
}
</script>
  1. Creating a chart using ECharts:
<template>
  <div ref="chartContainer" style="width: 600px;height:400px;"></div>
</template>

<script>
import * as echarts from 'echarts'

export default {
  mounted() {
    const myChart = echarts.init(this.$refs.chartContainer)
    const option = {
      title: {
        text: 'ECharts Getting Started Example'
      },
      tooltip: {},
      xAxis: {
        data: ['shirt', 'cardigan', 'chiffon', 'pants', 'heels', 'socks']
      },
      yAxis: {},
      series: [{
        name: 'sales',
        type: 'bar',
        data: [5, 20, 36, 10, 10, 20]
      }]
    }
    myChart.setOption(option)
  }
}
</script>

Getting Started

  1. Clone the repository:

    git clone https://github.com/zxwk1998/vue-admin-better.git
    
  2. Install dependencies:

    cd vue-admin-better
    npm install
    
  3. Start the development server:

    npm run serve
    
  4. Access the admin panel at http://localhost:8080

Competitor Comparisons

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

Pros of vue-element-admin

  • More comprehensive documentation and examples
  • Larger community and ecosystem
  • Extensive internationalization support

Cons of vue-element-admin

  • Steeper learning curve due to complexity
  • Potentially heavier and slower performance
  • Less frequent updates compared to vue-admin-better

Code Comparison

vue-element-admin:

import { mapGetters } from 'vuex'

export default {
  computed: {
    ...mapGetters([
      'sidebar',
      'device',
      'visitedViews',
      'cachedViews'
    ])
  }
}

vue-admin-better:

import { useStore } from 'vuex'
import { computed } from 'vue'

export default {
  setup() {
    const store = useStore()
    const sidebar = computed(() => store.state.app.sidebar)
    return { sidebar }
  }
}

The code comparison shows that vue-element-admin uses the older Vuex mapGetters approach, while vue-admin-better utilizes the newer Composition API with the useStore hook. This demonstrates that vue-admin-better may be more up-to-date with recent Vue.js practices.

Both projects offer robust admin template solutions for Vue.js applications, with vue-element-admin providing a more established and feature-rich option, while vue-admin-better focuses on simplicity and modern Vue.js patterns.

🎉 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

  • Improved user interface and design
  • Enhanced performance optimizations
  • More comprehensive documentation

Cons of vue-admin-better

  • Potentially higher learning curve for new users
  • May require additional setup or configuration

Code Comparison

vue-admin-better:

<template>
  <div class="app-container">
    <el-form :model="queryForm" :inline="true">
      <!-- Advanced form elements -->
    </el-form>
  </div>
</template>

vue-admin-better:

<template>
  <div class="app-wrapper">
    <el-form :model="searchForm" inline>
      <!-- Basic form elements -->
    </el-form>
  </div>
</template>

The code comparison shows that vue-admin-better uses a more structured approach with the app-container class and potentially more advanced form elements. The original vue-admin-better uses a simpler structure with the app-wrapper class and basic form elements.

Both repositories appear to be variations of the same project, with vue-admin-better likely being an improved or updated version. The differences mainly lie in the user interface, performance optimizations, and documentation quality. However, these improvements may come at the cost of a steeper learning curve and potentially more complex setup process.

Vue3、Element Plus、typescript后台管理系统

Pros of vue-manage-system

  • Simpler and more lightweight, making it easier to understand and customize
  • More frequent updates and active maintenance
  • Includes a variety of pre-built components and layouts

Cons of vue-manage-system

  • Less comprehensive documentation compared to vue-admin-better
  • Fewer advanced features and integrations out of the box
  • Smaller community and ecosystem

Code Comparison

vue-manage-system:

<template>
    <div class="header">
        <div class="logo">Vue Manage System</div>
        <div class="user-info">
            <el-dropdown trigger="click" @command="handleCommand">
                <span class="el-dropdown-link">

vue-admin-better:

<template>
  <div class="vab-layout-header">
    <vab-logo />
    <vab-nav />
    <div class="vab-layout-header-right">
      <vab-avatar />

The code comparison shows that vue-manage-system uses a more straightforward approach with standard element-ui components, while vue-admin-better employs custom components for better modularity and reusability.

A admin template based on vue + element-ui. 基于vue + element-ui的后台管理系统基于 vue + element-ui 的后台管理系统

Pros of vue2-manage

  • Simpler and more lightweight structure, making it easier for beginners to understand and customize
  • Includes a variety of common components and features out-of-the-box, such as charts and tables
  • Well-documented with clear explanations of project structure and usage

Cons of vue2-manage

  • Based on Vue 2, which is older and lacks some modern features compared to Vue 3
  • Less comprehensive in terms of advanced features and customization options
  • May require more manual configuration for complex enterprise-level applications

Code Comparison

vue2-manage:

import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/'

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})

vue-admin-better:

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { setupPlugins } from '@/plugins'

const app = createApp(App)
setupPlugins(app)
app.use(store).use(router).mount('#app')

The code comparison shows the difference in initialization between Vue 2 and Vue 3, with vue-admin-better using the more modern composition API approach.

Vue 2.0 admin management system template based on iView

Pros of iview-admin

  • More comprehensive documentation and examples
  • Larger community and better long-term support
  • Integrated with iView UI components for consistent design

Cons of iview-admin

  • Less frequent updates compared to vue-admin-better
  • Steeper learning curve due to its extensive features
  • Potentially heavier and slower performance in some cases

Code Comparison

vue-admin-better:

<template>
  <div class="app-container">
    <el-table :data="tableData" style="width: 100%">
      <!-- Table columns -->
    </el-table>
  </div>
</template>

iview-admin:

<template>
  <div>
    <Table :columns="columns" :data="data"></Table>
  </div>
</template>

The code comparison shows that vue-admin-better uses Element UI components, while iview-admin uses iView components. This reflects the different UI libraries each project is built upon, which can affect the overall look and feel of the admin interface.

Both projects offer robust solutions for building admin interfaces with Vue.js, but they cater to different preferences in terms of UI components and feature sets. The choice between them would depend on specific project requirements, familiarity with the respective UI libraries, and desired level of customization.

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

Pros of vue-vben-admin

  • More active development with frequent updates and contributions
  • Comprehensive documentation and examples for easier implementation
  • Built-in support for internationalization (i18n) out of the box

Cons of vue-vben-admin

  • Steeper learning curve due to its extensive feature set
  • Potentially heavier bundle size due to numerous built-in components

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] = useForm({
      schemas: formSchema,
    });
    // ... rest of the component logic
  },
});

vue-admin-better:

<template>
  <el-form ref="form" :model="form" label-width="80px">
    <el-form-item label="Activity name">
      <el-input v-model="form.name"></el-input>
    </el-form-item>
    <!-- ... more form items -->
  </el-form>
</template>

<script>
export default {
  data() {
    return {
      form: {
        name: '',
        // ... other form fields
      },
    };
  },
};
</script>

The code comparison shows that vue-vben-admin uses a more modular approach with composition API and custom hooks, while vue-admin-better follows a more traditional Vue 2 style with template-based forms. vue-vben-admin's approach may offer better scalability and reusability for complex forms.

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

简体中文 | English

Vue Admin Better

拒绝过度封装,去除等待时间,让项目回归纯粹,让开发变得简单

致力于成为开源社区中运行速度最快、打包等待时间最短、上手难度最低的中后台前端框架

stars star license


🚀 2025 全新启程

  • ⚡️ 项目运行速度提升 10-15 倍,打包速度提升 20-30 倍
  • 🕒 整体构建时间控制在 5 秒以内,带来飞一般的开发体验

🎉 特性

  • 💪 40+高质量单页
  • 💅 RBAC 模型 + JWT 权限控制
  • 🌍 10 万+ 项目实际应用
  • 👏 良好的类型定义
  • 🥳 开源版本支持免费商用
  • 🚀 跨平台 PC、手机端、平板
  • 📦️ 后端路由动态渲染

🌐 演示地址

💡 免费版演示

💰 付费版演示

🍻 前端讨论 QQ 群

  • 请我们喝杯咖啡,打赏后联系 QQ 783963206 邀请您进入讨论群(由于用户数较多,如果您打赏后未通过好友请求,可以尝试多加几次),不管您请还是不请,您都可以享受到开源的代码,感谢您的支持和信任,群内提供 vue-admin-better 基础版本、开发工具自动配置教程及项目开发文档。

💪 找工作

🌐 仓库地址

📦️ 桌面应用程序

🌱 Vue 2.x (Element UI) - 当前仓库

# 克隆项目
git clone -b master https://github.com/zxwk1998/vue-admin-better.git

# 安装依赖
pnpm i --registry=http://mirrors.cloud.tencent.com/npm/

# 本地开发 启动项目
npm run serve:rspack

🌱 Vue 3.x (Element Plus) 点击切换仓库

# 克隆项目
git clone https://github.com/zxwk1998/vue3-admin-better.git

# 安装依赖
pnpm i --registry=http://mirrors.cloud.tencent.com/npm/

# 本地开发 启动项目
npm run dev

🌱 Vue 3.x (Arco Design) 点击切换仓库

# 克隆项目
git clone https://github.com/zxwk1998/vue-admin-arco.git

# 安装依赖
pnpm i --registry=http://mirrors.cloud.tencent.com/npm/

# 本地开发 启动项目
npm run dev

🤝 友情链接

💸 赞助支持

如果您觉得 vue-admin-better 对您有帮助,欢迎赞助支持开源项目发展:

🏆 框架杰出贡献者

🌟 优势亮点

主要优势:

  1. 灵活权限控制 - 支持前端控制路由权限(intelligence)和后端控制路由权限(all)两种模式
  2. 开发效率提升 - 独家支持 mock 自动生成和自动导出功能
  3. 高度可配置 - 提供 50+ 项全局精细化配置选项
  4. 开发友好 - 支持 SCSS 自动排序,ESLint 自动修复
  5. 网络请求优化 - Axios 精细化封装,支持多数据源、多成功状态码,支持多种传参方式
  6. 安全增强 - 支持登录 RSA 加密
  7. 构建优化 - 支持打包自动生成 7Z 压缩包
  8. 错误监控 - 支持错误日志拦截(errorlog)
  9. 多样化支持 - 支持多主题、多布局切换

使用须知:

  1. 项目默认使用 LF 换行符,请注意文件换行符设置
  2. 使用最严格的 ESLint 校验规范(plugin:vue/recommended),建议配置开发工具自动修复(推荐使用 VSCode)
  3. 项目采用 MIT 开源协议,保留协议声明即可免费商用

💚 适合人群

  • 正在以及想使用 element-ui/element-plus 开发,前端开发经验 1 å¹´+。
  • 熟悉 Vue.js 技术栈,使用它开发过几个实际项目。
  • 对原理技术感兴趣,想进阶和提升的同学。

🎨 Star

Stargazers for vue-admin-better

✨ Fork

Forkers repo roster for vue-admin-better

🎉 功能地图

img

🗃️ 效果图

以下是截取的是 pro 版的效果图展示:

以下是截取的是 shop 版的效果图展示:

📄 商用注意事项

开源版本可免费用于商业用途,如果方便就留个 Star 吧