mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 04:37:47 +08:00
a2dba425a0
* refactor(theme-chalk): upgrade to ts & renive gulp-mincss with gulp-clean-css * feat(build): add clean-css colorful log && add progressbar for webpack
42 lines
540 B
Markdown
42 lines
540 B
Markdown
# element-theme-chalk
|
|
|
|
> element component chalk theme.
|
|
|
|
## Installation
|
|
|
|
```shell
|
|
npm i element-plus
|
|
```
|
|
|
|
## Usage
|
|
|
|
Use Sass import
|
|
|
|
```css
|
|
@import 'element-plus/lib/theme-chalk/index.scss';
|
|
```
|
|
|
|
Or Use vite/webpack
|
|
|
|
```javascript
|
|
import 'element-plus/lib/theme-chalk/index.css'
|
|
```
|
|
|
|
Or
|
|
|
|
```html
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://unpkg.com/element-plus/lib/theme-chalk/index.css"
|
|
/>
|
|
```
|
|
|
|
## Import on demand
|
|
|
|
```javascript
|
|
import 'element-plus/lib/theme-chalk/input.css'
|
|
import 'element-plus/lib/theme-chalk/select.css'
|
|
|
|
// ...
|
|
```
|