About me
- 💼 Remote TS Fullstack Engineer.
- ❤️ I love writing TypeScript, and building fun experiments on type-level
- 🌱 Stay Hungry, Stay Foolish.
A modern react admin. It is based on react 18, vite and TypeScript. It's fast !
Home Page: https://admin.slashspaces.com/
License: MIT License
https://github.com/xinmans/slash-admin.git
合并下,给个PR提交权限
There are also many people who need the Vue version!!!
有时间的话,增加简单的使用配置说明,依赖版本能跟进更新。
大佬有没有vue的版本。
目前我看权限是管控到路由,是否可以将颗粒度细化到组件,例如对页面中增删改查之类的按钮组件进行权限控制。实现方式可以动态的对组件进行权限设置(也可以取消权限设置),然后在角色管理里进行分配
某些情况:menu中不需要显示,但是可以跳转到对应页面
现在好像没办法实现这种需求
RT,路由的定义都由后端传过来是吗
如题
不清楚如何增删默认的导航菜单, 定制化配置需要文档说明
左侧菜单栏的相同风格的图标我需要去哪里获取
src/router/hooks/use-match-route-meta.tsx
const currentRouteMeta = flattenedRoutes.find(
(item) => item.key === lastRoute?.pathname || `${item.key}/` === lastRoute?.pathname,
);
if (currentRouteMeta) {
if (!currentRouteMeta.hideTab) {
currentRouteMeta.outlet = children;
setMatchRouteMeta(currentRouteMeta);
}
} else {
push(HOMEPAGE);
}
lastRoute?.pathname => /article/123
key: '/article/:articleId' !== '/article/123'
导致这种形式的路由会一直跳HOMEPAGE
现在需要从 useSettings
中取出 themeMode
,再根据这个值去写style对象
既然用了tailwind,可以适配 dark:bg-gray
这种写法
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.