1 Star 2 Fork 0

Ant Design Project / antdp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Ant Design Project

Build & Deploy NPM Downloads

一个基于 antdumi 的初始级别项目,集成路由、dva(Redux)、选项卡等特性,用于简化 antd 4.x + 的部分使用。

Ant Design Project

Features

  • 🪖 简化 antd 4.x +umi 框架配置使用;
  • 📦 减少项目配置和依赖,将配置集成到包中开箱即用;
  • 🐝 更简单直观的配置权限和更改 Layout;
  • 💋 支持配置路由参数 /router/:id
  • 🤡 支持 tab 选项卡功能。

Quick start

使用 create-antdp 工具,将示例 antdp-base 初始化,让我们快速创建这个 React 应用程序:

# npm 6.x
$ npm init antdp my-app --example antdp-base
# npm 7+, extra double-dash is needed:
$ npm init antdp my-app -- --example antdp-base

$ yarn create antdp [appName]
# or npm
$ npm create antdp my-app
# or npx
$ npx create-antdp my-app

或者直接下载: antdp-base.zip

Open in CodeSandbox

Open in CodeSandbox

用户名密码: admin/admin

直接下载实例下载本地预览: antdp-base.zip

Packages

This git repository is a repo built using Lerna. It contains several packages:

Package Version Description
@antdp/authorized npm -
@antdp/basic-layouts npm -
@antdp/antdp-ui npm -
@antdp/document-title npm -
@antdp/fullscreen npm -
@antdp/user-login npm -
@antdp/layout-tabs npm -
@antdp/config npm -
@antdp/dependencies npm -
@antdp/icons npm -
@antdp/page-loading npm -

发布版本

npm run version -- patch # 配置的命令快捷方式,与下面命令效果相同
lerna version --no-changelog patch

发布版本可选参数,通过该关键字增加版本。

lerna version [major | minor | patch | premajor | preminor | prepatch | prerelease]
  • major - 重大的 1.1.1 => 2.0.0
  • minor - 小调 1.1.1 => 1.2.0 中间版本变化
  • patch - 补丁 1.1.1 => 1.1.2 小版本递增
  • premajor - 预发布重大的 1.1.1 => 2.0.0-alpha.0
  • preminor - 预发布小调 1.1.1 => 1.2.0-alpha.0
  • prepatch - 预发布补丁 1.1.1 => 1.1.2-alpha.0
  • prerelease - 预发行 1.1.1 => 1.1.2-alpha.0

开发

npm install               # 按照项目依赖
npm run install           # 按照【子包】和【实例】依赖

npm run watch:config      # 实时监听包输出 JS

npm run start:website     # 运行文档网站
npm run build:antdp-base  # 运行实例

License

Licensed under the MIT License.

MIT LICENSE Copyright (c) 2020-present 尼好 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于 umi 和 antd 的初始化功能 展开 收起
JavaScript 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/antdpro/antdp.git
git@gitee.com:antdpro/antdp.git
antdpro
antdp
antdp
master

搜索帮助