Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
uiw-admin
Advanced tools
Readme
Package | Version | Description |
---|---|---|
@uiw-admin/basic-layouts | 用于布局的组件 | |
@uiw-admin/document-title | 设置页面标题 | |
@uiw-admin/user-login | 登录界面 | |
@uiw-admin/components | 常见的业务组件 | |
@uiw-admin/exceptions | 公共异常组件 | |
eslint-config-uiw-admin | uiw-admin 内置 eslint 规则配置 |
- 直接下载实例文件
uiw-admin-ts.zip
uiw-admin-js.zip
- 通过命令创建项目
# npm 6.x
$ npm init uiw-admin my-app --example uiw-admin-ts
# npm 7+, extra double-dash is needed:
$ npm init uiw-admin my-app -- --example uiw-admin-ts
$ yarn create uiw-admin [appName]
# or npm
$ npm create uiw-admin my-app
# or npx
$ npx create-uiw-admin my-app
使用
yarn workspaces
管理node_modules
$ cd uiw-admin
$ yarn install
$ yarn build
$ yarn start
$ cd uiw-admin
$ yarn build
一个基础的 uiw-admin 项目大致是这样的,
.
├── README.md
├── config
│ ├── .kktprc.ts # 配置文件可放在根目录下
│ └── routes.json # 路由配置
├── mocker # mock 数据
│ ├── auth
│ │ └── index.js
│ ├── demo.js
│ ├── index.js
│ ├── login.js
│ └── selectPage.js
├── package.json
├── public
│ ├── favicon.ico
│ └── index.html
├── src
│ ├── assets
│ │ ├── head.png
│ │ ├── logo-dark.svg
│ │ └── logo-light.svg
│ ├── index.css
│ ├── index.tsx
│ ├── layouts # 框架组件
│ │ ├── BasicLayout.tsx # 框架菜单
│ │ ├── UserLayout.tsx # 登陆页面
│ │ └── logo.svg
│ ├── models # remach models
│ │ ├── Doc
│ │ │ └── doc.ts
│ │ ├── demo.ts
│ │ ├── global.ts
│ │ ├── home.ts
│ │ └── login.ts
│ ├── pages # 页面, 文件名大写
│ │ ├── Dashboard
│ │ │ └── index.tsx
│ │ ├── Demo
│ │ │ ├── Detail
│ │ │ │ ├── index.tsx
│ │ │ │ └── items.tsx
│ │ │ └── index.tsx
│ │ ├── TableList
│ │ │ └── index.tsx
│ │ └── login
│ │ ├── index.module.less
│ │ └── index.tsx
│ ├── react-app-env.d.ts
│ └── servers # 放置api文件的地方,文件名已后端接口模块名命名,不以路由命名
│ └── index.ts
├── .kktprc.ts # 配置文件可放在config目录下
└── tsconfig.json
感谢所有的贡献者,欢迎开发者为开源项目贡献力量。
Licensed under the MIT License.
FAQs
UIW Admin Project
The npm package uiw-admin receives a total of 1 weekly downloads. As such, uiw-admin popularity was classified as not popular.
We found that uiw-admin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.