1.1.4 • Published 7 years ago

react-import-style v1.1.4

Weekly downloads
6
License
Apache 2.0
Repository
github
Last release
7 years ago

ImportStyle

React 组件添加样式,目的:加载一次、先加载样式再显示组件、样式跟随组件存在、css书写原生(Less\Sass均可)。

ImportStyle - 普通组件使用

ImportStyleRoot - 最外层组件使用

注意: 每个组件最外层的class名必须是 .component,在webpack的wrapper-css-loader处理后变成md5的class名。

使用

配合 wrapper-css-loader 使用

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

0.1.1

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago