All Projects → RainManGO → Vue3 Composition Admin

RainManGO / Vue3 Composition Admin

Licence: mit
🎉 基于vue3 的管理端模板(Vue3 TS Vuex4 element-plus vue-i18n-next composition-api) vue3-admin vue3-ts-admin

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Vue3 Composition Admin

Kit
ReactQL starter kit (use the CLI)
Stars: ✭ 232 (-11.11%)
Mutual labels:  koa2, sass
Css
Believe in Better CSS
Stars: ✭ 262 (+0.38%)
Mutual labels:  sass
moth-admin-vue
飞蛾后台管理系统vue2版本
Stars: ✭ 16 (-93.87%)
Mutual labels:  vue-admin
koa-2-acl
ACL middleware of koa 2
Stars: ✭ 18 (-93.1%)
Mutual labels:  koa2
task-manager
Open-source task manager based on Kanban. Made with vue.js, koa2, mongodb\mongoose.
Stars: ✭ 23 (-91.19%)
Mutual labels:  koa2
Gutenberg
A meaningful web typography starter kit.
Stars: ✭ 2,765 (+959.39%)
Mutual labels:  sass
demo
个人博客中用到的demo,和其他各种乱七八糟的demo
Stars: ✭ 57 (-78.16%)
Mutual labels:  koa2
Foundationpress
FoundationPress is a WordPress starter theme based on Foundation 6 by Zurb
Stars: ✭ 2,776 (+963.6%)
Mutual labels:  sass
Vscode Stylelint
A Visual Studio Code extension to lint CSS/SCSS/Less with stylelint
Stars: ✭ 260 (-0.38%)
Mutual labels:  sass
koa2-winston
koa2 version winston logger like express-winston
Stars: ✭ 37 (-85.82%)
Mutual labels:  koa2
vue3.0-template-admin
本项目基于vue3+ElementPlus+Typescript+Vite搭建一套通用的后台管理模板;并基于常见业务场景,抽象出常见功能组件;包括动态菜单,菜单权限、登录、主题切换、国际化、个人中心、表单页、列表页、复制文本、二维码分享等等
Stars: ✭ 500 (+91.57%)
Mutual labels:  vue-admin
koa2-examples
Koa2 examples
Stars: ✭ 17 (-93.49%)
Mutual labels:  koa2
Tui
This is a high quanlity components library for VUE
Stars: ✭ 258 (-1.15%)
Mutual labels:  sass
react-zhufengapp
这是珠峰培训react课程前端页面
Stars: ✭ 11 (-95.79%)
Mutual labels:  koa2
Stylesheet
The GTK Stylesheet for elementary OS
Stars: ✭ 260 (-0.38%)
Mutual labels:  sass
koa2
📔koa2 + mongodb 博客系统
Stars: ✭ 18 (-93.1%)
Mutual labels:  koa2
docker-demo
前端理解 docker 概念
Stars: ✭ 16 (-93.87%)
Mutual labels:  koa2
Hare
🐇 Application boilerplate based on Vue.js 2.x, Koa 2.x, Element-UI and Nuxt.js
Stars: ✭ 258 (-1.15%)
Mutual labels:  koa2
Bulma Helpers
Library with missing Functional / Atomic CSS classes for Bulma framework
Stars: ✭ 263 (+0.77%)
Mutual labels:  sass
Simple React App
Simple base app using react, react-router v4, hot-reload & sass.
Stars: ✭ 263 (+0.77%)
Mutual labels:  sass

logo

vue element-plus vuex vue-i18n-next npm gitter

vue3-composition-admin 是一个管理端模板解决方案,它是基于vue3,ts和element-plus,项目都是以composition api风格编写。

简介

项目的基础版本出自于源于花裤衩大佬的 vue-element-admin。

版本:

vue2+js版本:vue-element-admin

vue2+ts版本:vue-typescript-admin-template

vue3 发布之后,性能增强,速度vue2的倍数,打包体积都在减小(treeshaking),composition api 增加了项目可读性。

项目目的:

  • 学习vue3+ts
  • 保持 composition api 风格

在线demo演示地址:https://admin-tmpl-test.rencaiyoujia.cn/

相关项目

功能

- 用户管理
	- 登录(视频背景)
	- 注销
	
- 权限验证
  - 页面权限
  - 指令权限
  - 权限配置
  - 二步登录

- 多环境发布 (对应serve,build)
  - dev
  - test
  - prod
  
- 全局功能
  - iconfont
  - 国际化多语言
  - 多种动态换肤
  - 动态侧边栏(支持多级路由嵌套)
  - 动态面包屑
  - 快捷导航(标签页)
  - 本地/后端 mock 数据
  - Screenfull全屏
  - 自适应收缩侧边栏

- 编辑器
  - 富文本

- Excel
  - 导出excel
  - 导入excel
  - 前端可视化excel
  - 导出zip

- 表格
  - 动态表格
  - 拖拽表格
  - 内联编辑

- 错误页面
  - 401
  - 404

- 組件
  - 头像上传
  - 返回顶部
  - 拖拽Dialog
  - 拖拽Select
  - 拖拽看板
  - 列表拖拽
  - Dropzone
  - Sticky
  - CountTo (to do)

- 综合实例
- 错误日志
- Dashboard
- 引导页
- ECharts 图表
- Clipboard(剪贴复制)

目录结构

admin-tmpl
├─ .env.dev.build     # 开发环境
├─ .env.dev.serve     # 开发本地本地
├─ .env.prod.build    # 生产环境
├─ .env.prod.serve    # 生产环境本地
├─ .env.test.build    # 测试环境
├─ .env.test.serve    # 测试环境本地
├─ .eslintrc.js       # eslint
├─ README.md          
├─ dist               # 打包dist
├─ mock               # mock服务
├─ public             # 静态资源
├─ src                # 源码
│  ├─ @types          # ts 声明
│  ├─ apis            # 接口请求
│  ├─ assets          # webpack打包的资源
│  ├─ components      # 公共组件
│  ├─ config          # 全部配置
│  ├─ constant        # 常量
│  ├─ directives      # 全局指令
│  ├─ layout          # 全局Layout
│  ├─ locales         # 国际化
│  ├─ model           # 全部model存放
│  ├─ plugins         # 插件
│  ├─ router          # 路由
│  ├─ store           # 全局store管理
│  ├─ styles          # 全局样式
│  ├─ utils           # 全局公共方法
│  └─ views           # 所有业务页面
├─ tsconfig.json      # ts 编译配置
└─ vue.config.js      # vue-cli 配置

HighLight

项目均已最新技术实现,Vue3配套升级全家桶和涉及的插件组件等

项目采用技术:

  • vue3 + composition api
  • typescript3.9
  • sass (dart sass)
  • echats5

vue next 系列:

Document

Setup

项目主要是前端和mock server(node)

前后端都启动

  yarn
  yarn start

or

  npm install
  npm run start

单独启动 Mock

后台模拟服务器和其他版本不同,采用koa2+Faker进行模拟。

启动mock server:

    yarn mock

or

    npm run mock

mock 需要部署到服务器,单独项目地址:https://github.com/rcyj-FED/admin-tmpl-mock mock在线测试地址:https://admin-tmpl-mock-test.rencaiyoujia.cn/

单独启动 vue admin

    yarn  serve:dev

or

    npm run serve:dev

多环境命令查看package.json script:

    "serve:dev": "cross-env NODE_ENV=development dotenv -e .env.dev.serve vue-cli-service serve",
    "build:dev": "cross-env NODE_ENV=production  dotenv -e .env.dev.build vue-cli-service build",
    "serve:test": "cross-env NODE_ENV=development dotenv -e .env.test.serve vue-cli-service serve",
    "build:test": "cross-env NODE_ENV=production  dotenv -e .env.test.build vue-cli-service build",
    "serve:prod": "cross-env NODE_ENV=development dotenv -e .env.prod.serve vue-cli-service serve",
    "build:prod": "cross-env NODE_ENV=production  dotenv -e .env.prod.build vue-cli-service build",

eslint

    yarn  lint

or

    npm run lint

提交自动检测:

 "gitHooks": {
    "pre-commit": "lint-staged"
  },
  "lint-staged": {
    "*.{js,jsx,vue,ts,tsx}": [
      "vue-cli-service lint",
      "git add"
    ]
  }

Browsers support

Modern browsers and Internet Explorer 10+.

IE / EdgeIE / Edge FirefoxFirefox ChromeChrome SafariSafari
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions

License

MIT

Copyright (c) 2021-present 人才有价

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].