🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

cime-react-ui

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cime-react-ui

cime-react is componets of react and ibrary for building use dumi.js

npmnpm
Version
1.0.0
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

开发记录

  • 1:初始化 dumi.js作为组件库工程
  • 2: 编写 .umirc.ts 配置。修改文档,确认组件开发模块化
  • 3: gitee 新建仓库。提交 commit 规范化提交
  • 4: 先配置打包工具 rollup.config.js (好费劲)
  • 5: 发布到npm上
  • 6: 在react项目中 下载安装 测试

关于组件库面试

不知道问组件库哪些内容时?
 问题:给我介绍一下组件库?
      根据介绍,提到的技术点问面试题。

问:xx组件你是怎么封装的?
问:组件库的工程化是怎么做的?
问:怎么实现全局导入和按需导入的。
问:package.json中配置哪些内容?为什么?
问:在写组件库的时候遇到哪些难题你是怎么解决的?
问:封装某个组件(时间有限),以完成逻辑为主,不需要注重样式,注意代码编写要规范。命名要规范。
参考代码:arco-design 
import cime from 'cime-react'

FAQs

Package last updated on 19 Jul 2023

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