An open API service indexing awesome lists of open source software.

https://github.com/ElemeFE/element-angular

Element for Angular
https://github.com/ElemeFE/element-angular

Last synced: about 1 month ago
JSON representation

Element for Angular

Awesome Lists containing this project

README

        




Element for Angular

[![npm version](https://badge.fury.io/js/element-angular.svg)](https://badge.fury.io/js/element-angular)
[![npm](https://img.shields.io/npm/dt/element-angular.svg)](http://npm-stat.com/charts.html?package=v2ex-cli)
[![Join the chat at https://gitter.im/element-angular/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/element-angular/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Catalog

- [Documentation](#documentation)
- [Getting Started](#getting-started)
- [Contribution](#contribution)
- [Support](#support)
- [LICENSE](#license)

## Documentation

[element-angular](https://element-angular.faas.ele.me)

## Getting Started
1. Install:
```bash
# install
npm i --save element-angular
```
2. Usage:
```typescript
// improt module
import { ElModule } from 'element-angular'

// import styles
// if you use webpack, in app.module.ts:
import 'element-angular/theme/index.css'

// or anglar-cli, in /angular-cli.json:
{
"app": [{
"styles": [
"../node_modules/element-angular/theme/index.css"
],
// other configurations...
}]
}

// or other, in /src/styles.css:
@import "~element-angular/theme/index.css"

```

More: [Doc](https://element-angular.faas.ele.me)

## Contribution

- [Contribution Guide](https://github.com/eleme/element-angular/blob/master/.github/CONTRIBUTING.en-US.md)

- [贡献指南](https://github.com/eleme/element-angular/blob/master/.github/CONTRIBUTING.zh-CN.md)

## Support

Modern browsers and Internet Explorer 9+.

## LICENSE

**MIT**