![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
一个基于 antd 和 umi 的初始级别项目,集成路由、dva
(Redux)、选项卡等特性,用于简化 antd 4.x + 的部分使用。
/router/:id
;tab
选项卡功能。使用 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
用户名密码: admin/admin
直接下载实例下载本地预览: antdp-base.zip
This git repository is a repo built using Lerna. It contains several packages:
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 # 运行实例
Licensed under the MIT License.
FAQs
Ant Design Project
The npm package antdp receives a total of 64 weekly downloads. As such, antdp popularity was classified as not popular.
We found that antdp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.