mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
dec5d665a3
* feat: change to import scss Change the import css to import scss to facilitate style modification * fix: fixed: storybook support scss file fixed: storybook support scss file * chore: remove redundant code in webpack.config.js Remove redundant code in webpack.config.js
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';
|
|
|
|
// ...
|
|
```
|