react-bem-helper:用于React的BEM库

时间:2021-05-01 15:15:08
【文件属性】:
文件名称:react-bem-helper:用于React的BEM库
文件大小:132KB
文件格式:ZIP
更新时间:2021-05-01 15:15:08
react flow bem bem-methodology bem-css react-bem-helper 用于React的BEM库 目录 执照 安装 $ npm install --save @redneckz/react-bem-helper $ yarn add @redneckz/react-bem-helper 动机 该实用程序有助于根据React组件声明BEM实体。 首先,它对于具有CSS工件(Sass,Less,PostCSS等)的项目很有用。 与其他库相比,该库还针对BEM的简化和增量适应(甚至针对专有项目)。 特征 可配置的 BEM mixins支持 模块化CSS支持 流程定义 非常小的束〜8Kb 几乎没有依赖 先决条件 BEM方法论 高阶组件 流 类名 用法 .some-button padding : 8 px & --major background : blue & --size
【文件预览】:
react-bem-helper-master
----.flowconfig(251B)
----.gitattributes(40B)
----.eslintrc.js(144B)
----src()
--------bem-helper-types()
--------utils()
--------bem-config.js(95B)
--------element()
--------tag()
--------bem-naming-factory()
--------create-block-context.js(612B)
--------modifier()
--------index.js(773B)
--------bem()
--------block()
----bem.d.ts(6KB)
----flow-typed()
--------npm()
----.travis.yml(35B)
----LICENSE(1KB)
----jest.config.js(71B)
----README.md(5KB)
----.cache()
--------.gitkeep(0B)
----.npmrc(13B)
----.editorconfig(147B)
----.gitignore(102B)
----.babelrc.js(68B)
----CHANGELOG.md(4KB)
----package-lock.json(339KB)
----package.json(2KB)

网友评论