mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-05 21:58:49 +08:00
34 lines
487 B
Markdown
34 lines
487 B
Markdown
|
# element-theme-chalk
|
||
|
> element component chalk theme.
|
||
|
|
||
|
|
||
|
## Installation
|
||
|
```shell
|
||
|
npm i element-theme-chalk -S
|
||
|
```
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
Use Sass import
|
||
|
```css
|
||
|
@import 'element-theme-chalk';
|
||
|
```
|
||
|
|
||
|
Or Use webpack
|
||
|
```javascript
|
||
|
import 'element-theme-chalk';
|
||
|
```
|
||
|
|
||
|
Or
|
||
|
```html
|
||
|
<link rel="stylesheet" href="path/to/node_modules/element-theme-chalk/lib/index.css">
|
||
|
```
|
||
|
|
||
|
## Import on demand
|
||
|
```javascript
|
||
|
import 'element-theme-chalk/lib/input.css';
|
||
|
import 'element-theme-chalk/lib/select.css';
|
||
|
|
||
|
// ...
|
||
|
```
|