polygonal-rbac-ui

rbac ui used by polygonal app

Usage no npm install needed!

<script type="module">
  import polygonalRbacUi from 'https://cdn.skypack.dev/polygonal-rbac-ui';
</script>

README

polygonal-rbac-ui

简介

该模块提供 polygonal app 前端工程的 权限设置

使用

import { Component as Rbac } from 'polygonal-rbac-ui';  // 根组件

import { Subject } from 'polygonal-rbac-ui'; // 权限设置
import { RbacMenu } from 'polygonal-rbac-ui'; // Rbac 菜单 
import { ConfigTree } from 'polygonal-rbac-ui'; // Rbac 权限树 
import { Actions as RbacActions } from 'polygonal-rbac-ui'; // 包含获取用户权限等 actions