mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-04 13:17:47 +08:00
34 lines
517 B
Markdown
34 lines
517 B
Markdown
|
# element-theme-default
|
||
|
> element component defualt theme.
|
||
|
|
||
|
|
||
|
## Installation
|
||
|
```shell
|
||
|
npm i element-theme-default -S
|
||
|
```
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
Use Sass Or postcss-import
|
||
|
```css
|
||
|
@import 'element-theme-default';
|
||
|
```
|
||
|
|
||
|
Or Use webpack
|
||
|
```javascript
|
||
|
import 'element-theme-default';
|
||
|
```
|
||
|
|
||
|
Or
|
||
|
```html
|
||
|
<link rel="stylesheet" href="path/to/node_modules/element-theme-default/dist/index.css">
|
||
|
```
|
||
|
|
||
|
## Import your need
|
||
|
```javascript
|
||
|
import 'element-theme-default/dist/input.css';
|
||
|
import 'element-theme-default/dist/select.css';
|
||
|
|
||
|
// ...
|
||
|
```
|