Code Monkey home page Code Monkey logo

online-reservation-system's Introduction

简介

vue3-element-admin 是一个基于 vue3.xelement-plus 的后台管理系统模板。内置用户登录/登出,动态路由,权限校验,用户管理等典型的业务模型。

部分逻辑参考了 vue-element-admin ,这是一个基于 VueElementUI 的优秀的后台管理系统模板,向大佬致敬!

技术栈

html2pdf和watermark,也是自己造的轮子,在这里给自己宣传一下,哈哈。

纯js实现,不依赖其他框架,不管你是react还是Vue亦或是Angular,都可以放心使用

功能

- 登录 / 注销

- 权限验证
  - 页面权限
  - 路由权限

- 全局功能
  - 动态侧边栏(支持多级路由嵌套)
  - 动态面包屑
  - 本地/后端 mock 数据
  - Screenfull全屏
  - 自适应收缩侧边栏

- 错误页面
  - 404

目录结构

├─ public                     # 静态资源
│   ├─ mock                   # 模拟数据
│   └─ favicon.ico            # favicon图标
├─ src                        # 项目源代码
│   ├─ api                    # 所有请求
│   ├─ assets                 # 图片 字体等静态资源
│   ├─ components             # 全局公用组件
│   ├─ config                 # 全局配置
│   │   ├─ permission.ts      # 权限管理
│   │   └─ settings.ts        # 基础配置
│   ├─ layout                 # 布局
│   ├─ router                 # 路由
│   ├─ stores                 # 全局 store管理
│   ├─ styles                 # 全局样式
│   ├─ utils                  # 全局公用方法
│   ├─ views                  # views 所有页面
│   ├─ App.jsx                # 入口页面
│   ├─ defaultSettings.js     # 全局默认配置
│   └─index.jsx               # 源码入口
├── .env.development          # 开发环境变量配置
├── .env.production           # 生产环境变量配置
├── index.html                # html模板
├── vite.config.ts            # vite自定义配置
└── package.json              # package.json

安装

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

# 进入项目目录
cd vue3-element-admin

# 安装依赖
npm install

# 切换淘宝源,解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# 启动服务
npm run dev

启动完成后会自动打开浏览器访问 http://127.0.0.1:5173/vue3-element-admin/

鼓励作者

开源不易,如果对你有用,请给个star!

online-reservation-system's People

Contributors

ymyamz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.