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

16,712
3,675
16,712
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


🎉 特性

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

🌐 付费版演示地址

🌐 免费版演示地址

🌐 仓库地址

🍻 前端讨论 QQ 群

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

📦️ 桌面应用程序

🌱 vue3.x arco-design 点击切换仓库

# 克隆项目
git clonehttps://github.com/zxwk1998/vue-admin-arco.git
# 安装依赖
npm i --registry=http://mirrors.cloud.tencent.com/npm/
# 本地开发 启动项目
npm run dev

🌱vue2.x master 分支(element-ui)点击切换分支

# 克隆项目
git clone -b master https://github.com/zxwk1998/vue-admin-better.git
# 安装依赖
npm i --registry=http://mirrors.cloud.tencent.com/npm/
# 本地开发 启动项目
npm run serve

🔊 友情链接

🙈 赞助

  • 如果您觉得 vue admin better 帮到了您 ,如果情况允许,您可以选择赞助以下项目

👷 框架杰出贡献者

📌 优势及注意事项

对比其他开源 admin 框架有如下优势:
1. 支持前端控制路由权限 intelligence、后端控制路由权限 all 模式
2. 已知开源 vue admin 框架中首家支持 mock 自动生成自动导出功能
3. 提供 50 余项全局精细化配置
4. 支持 scss 自动排序,eslint 自动修复
5. axios 精细化封装,支持多数据源、多成功 code 数组,支持 application/json;charset=UTF-8、application/x-www-form-urlencoded;charset=UTF-8 多种传参方式
6. 支持登录RSA加密
7. 支持打包自动生成7Z压缩包
8. 支持errorlog错误拦截
9. 支持多主题、多布局切换

使用注意事项:
1. 项目默认使用lf换行符而非crlf换行符,新建文件时请注意选择文件换行符
2. 项目默认使用的最严格的eslint校验规范(plugin:vue/recommended),使用之前建议配置开发工具实现自动修复(建议使用vscode开发)
3. 项目使用的是要求最宽泛的MIT开源协议,保留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 吧