Socket
Book a DemoInstallSign in
Socket

acud

Package Overview
Dependencies
Maintainers
24
Versions
294
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acud

acg react 组件库

1.6.16
latest
npmnpm
Version published
Weekly downloads
73
-78.34%
Maintainers
24
Weekly downloads
 
Created
Source

acud acu react 组件库

如何使用acud

安装

npm i acud

引用

import {Button, Select} from 'acud';

样式

方式一:全局引用

import 'acud/dist/acud.min.css';

方式二:webpack 插件引用

// 在babel配置中使用babel-plugin-import插件,可实现组件和样式的按需加载。libraryDirectory也可以用'lib'
['import', {libraryName: 'acud', style: true, libraryDirectory: 'es'}, 'acud']

注意事项

版本兼容性说明

支持react16、react17
react18在严格模式下还需要调整,建议不要启用StrictMode

FAQs

Package last updated on 04 Jul 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.