
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
一个基于 antd 和 umi 的初始级别项目,集成路由、dva
(Redux)、选项卡等特性,用于简化 antd 5.x + 的部分使用。
/router/:id
;tab
选项卡功能。使用 create-antdp
工具,将示例 basic
初始化,让我们快速创建这个 React 应用程序:
# npm 6.x ts版本
$ npm init antdp my-app --example basic
# npm 7+,ts版本 extra double-dash is needed:
$ npm init antdp my-app -- --example basic
$ yarn create antdp [appName]
# or npm
$ npm create antdp my-app
# or npx
$ npx create-antdp my-app
或者直接下载版本: basic.zip
# npm 6.x
$ npm init antdp my-app --example basicjs
# npm 7+,extra double-dash is needed:
$ npm init antdp my-app -- --example basicjs
$ yarn create antdp [appName] -- --example basicjs
# or npm
$ npm create antdp my-app -- --example basicjs
# or npx
$ npx create-antdp my-app -- --example basicjs
或者直接下载版本: basicjs.zip
用户名密码: admin/admin
你可以也直接下载实例下载本地预览: antdp-base.zip
cd [appName]
yarn install
yarn start
├── config
│ ├── config.js
│ ├── proxy.js
│ └── router.json
├── mock
│ ├── load.js
│ └── user.js
├── package.json
└── src
├── components
├── layouts
├── locales
├── models
├── pages
├── services
└── utils
This git repository is a repo built using Lerna. It contains several packages:
git clone https://github.com/antdpro/antdp.git
npm install # 安装项目依赖
npm run build # 实时监听包输出 JS
npm run start:website # 运行文档网站
npm run start:antdp-base # 运行实例
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
Licensed under the MIT License.
FAQs
Ant Design Project
The npm package antdp receives a total of 0 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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.