🚀 DAY 2 OF LAUNCH WEEK: Announcing Socket Certified Patches: One-Click Fixes for Vulnerable Dependencies.Learn more
Socket
Book a DemoInstallSign in
Socket

@easyv/arco

Package Overview
Dependencies
Maintainers
18
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easyv/arco

easyv 项目中针对 arco 组件库的二次封装

latest
npmnpm
Version
1.0.0
Version published
Maintainers
18
Created
Source

@easyv/arco

easyv 项目中针对 Arco Design 组件库的二次封装,基于 Vite 构建,支持按需加载和 React 16.8-19。

特性

  • 🚀 基于 Vite 构建,支持快速开发和构建
  • 📦 支持按需加载,减少包体积
  • 🎯 支持 React 16.8 到 React 19
  • 💪 完整的 TypeScript 支持
  • 🎨 基于 Arco Design 的二次封装
  • 📱 支持 ES Module 和 CommonJS

安装

npm install @easyv/arco
# 或
yarn add @easyv/arco
# 或
pnpm add @easyv/arco

使用

引入样式

import '@easyv/arco/style';

完整引入

import { Button } from '@easyv/arco';

function App() {
  return <Button primary>Hello World</Button>;
}

按需引入

import Button from '@easyv/arco/Button';

function App() {
  return <Button primary>Hello World</Button>;
}

开发

安装依赖

pnpm install

启动开发服务器

pnpm dev

构建

pnpm build

组件列表

  • Button - 按钮组件

依赖要求

  • React >= 16.8.0
  • @arco-design/web-react >= 2.0.0

许可证

ISC

Keywords

react

FAQs

Package last updated on 25 Sep 2025

Did you know?

Socket

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.

Install

Related posts