Giter VIP home page Giter VIP logo

chrischou0321 / platform-admin-vue3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from youlaitech/vue3-element-admin

0.0 0.0 0.0 132.62 MB

基于 vue-element-admin 升级的 Vue3 版本管理前端解决方案,技术栈: Vue3 + Vite3+ TypeScript + Element Plus + Pinia 。

Home Page: http://vue3.youlai.tech

License: MIT License

Shell 0.06% JavaScript 1.42% TypeScript 24.59% HTML 0.22% Vue 70.76% SCSS 2.94%

platform-admin-vue3's Introduction

在线预览 | 官方文档

项目介绍

vue3-element-admin 是基于 vue-element-admin 升级的 Vue3 版本后台管理框架,使用 Vue3、Vite4、TypeScript、Pinia、Element Plus 当前主流技术栈开发。

项目特色

  • 基于 vue-element-admin 升级的 Vue3 版本,主流前端技术栈应用,无过度自定义封装,极易上手,减少学习成本;
  • 配套 Java 后台接口,非 Mock 数据,在线接口文档
  • 01 的项目文档支持,官方文档
  • 系统功能:用户、角色、菜单、字典管和部门管理等;
  • 基础设施:动态路由,按钮权限,常用组件封装。

技术栈

技术栈 描述 官网
Vue3 渐进式 JavaScript 框架 https://v3.cn.vuejs.org/
TypeScript JavaScript 的一个超集 https://www.tslang.cn/
Vite 前端开发与构建工具 https://cn.vitejs.dev/
Element Plus 基于 Vue 3,面向设计师和开发者的组件库 https://element-plus.gitee.io/zh-CN/
Pinia 新一代状态管理工具 https://pinia.vuejs.org/
Vue Router Vue.js 的官方路由 https://router.vuejs.org/zh/

项目预览

在线预览: vue3.youlai.tech

控制台 国际化
用户管理 角色管理
菜单管理 富文本编辑器

项目地址

Gitee Github
vue3-element-admin vue3-element-admin vue3-element-admin
后端 youlai_boot youlai-boot

环境要求

  • Node 环境

    版本:16+

  • 开发工具

    VSCode

  • 必装插件

    • Vue Language Features (Volar)
    • TypeScript Vue Plugin (Volar)

项目启动

# 安装 pnpm
npm install pnpm -g

# 安装依赖
pnpm install

# 项目运行
pnpm run dev

项目部署

  • 打包项目

    pnpm run build:prod
    

    生成的静态文件位于项目根目录 dist 文件夹下

  • 上传文件

    创建 /mnt/nginx/html 目录,将打包生成 dist 下的所有文件拷贝至此工作目录下

  • nginx.cofig 配置

    server {
        listen     80;
        server_name  localhost;
    
        location / {
            root /mnt/nginx/html;
            index index.html index.htm;
        }
    
        # 代理转发 prod-api 请求至 vapi.youlai.tech
        location /prod-api/ {
            proxy_pass http://vapi.youlai.tech/;
        }
    }
    
    

接口文档

线上接口

本地接口

默认使用线上接口,你可以通过以下步骤完成本地接口环境搭建:

  1. 获取基于 Java 、SpringBoot 开发的后端 youlai-boot 源码 ;

  2. 根据后端工程说明文档 README.md 完成本地启动;

  3. 替换前端项目 vite.config.ts 的线上接口地址 vapi.youlai.tech 为本地的 localhost:8989 即可。

关于我

欢迎加我的微信,备注 前端后端运维全栈 进对应技术交流群

开发者 微信公众号

platform-admin-vue3's People

Contributors

1szx1 avatar haoxianrui avatar rackar avatar ssyng avatar ximy avatar zhangchuan11 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.