GithubHelp home page GithubHelp logo

daziyuan / laf-rbac-admin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from walle233/laf-rbac-admin

0.0 0.0 0.0 1 MB

基于 laf 和 vue 的前后一体化 rbac admin

Home Page: https://rjb00l-site.site.laf.run/#/login

License: MIT License

JavaScript 1.33% TypeScript 42.01% CSS 0.01% HTML 0.46% Vue 55.08% Less 1.11%

laf-rbac-admin's Introduction

简介

这是一个 基于 laf 和 vue 的前后端一体化的后台管理系统。

预览

账号:admin,密码:123456

准备

使用

  • 获取项目代码
git clone https://github.com/walle233/laf-rbac-admin.git
  • 安装依赖
cd laf-rbac-admin

pnpm install
  • 运行
pnpm dev
  • 打包
pnpm build

laf-cloud 使用

环境准备

  1. npm i -g laf-cli
  2. vscode 安装插件 laf-assistant

初始化项目

  1. 在 laf-cloud 目录下初始化 laf app
  2. 发布所有 function 到 laf 线上
  3. 在线上执行 init-shared-utils 和 init-app-rbac 两个 function,初始化 rbac 相关数据

静态资源发布

# 第一次先创建 bucket
laf storage create bucketName

# 按模板创建.env.production.example
创建.env.production  

# 编译
pnpm build

# 在 laf-cloud 目录下执行,发布静态资源到 bucket
laf storage push bucketName ../dist

如何贡献

Pull Request:

  1. Fork 代码!
  2. 创建自己的分支: git checkout -b feat/xxxx
  3. 提交你的修改: git commit -am 'feat(function): add xxxxx'
  4. 推送您的分支: git push origin feat/xxxx
  5. 提交pull request

Git 贡献提交规范

  • 参考 vue 规范 (Angular)

    • feat 增加新功能
    • fix 修复问题/BUG
    • style 代码风格相关无影响运行结果的
    • perf 优化/性能提升
    • refactor 重构
    • revert 撤销修改
    • test 测试相关
    • docs 文档/注释
    • chore 依赖更新/脚手架配置修改等
    • workflow 工作流改进
    • ci 持续集成
    • types 类型定义文件更改
    • wip 开发中

laf-rbac-admin's People

Contributors

giantappman avatar walle233 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.