element/packages/theme-default/README.md

34 lines
514 B
Markdown
Raw Normal View History

2016-11-02 12:24:05 +08:00
# 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
2016-11-13 22:08:38 +08:00
<link rel="stylesheet" href="path/to/node_modules/element-theme-default/lib/index.css">
2016-11-02 12:24:05 +08:00
```
## Import your need
```javascript
2016-11-13 22:08:38 +08:00
import 'element-theme-default/lib/input.css';
import 'element-theme-default/lib/select.css';
2016-11-02 12:24:05 +08:00
// ...
```