Home

Awesome

<div align="center"> <img src="https://camo.githubusercontent.com/462f24153b8e8739c8ea71f7102585c4cb0e1575/68747470733a2f2f63646e2e7261776769742e636f6d2f456c656d6546452f656c656d656e742f6465762f656c656d656e745f6c6f676f2e737667" width="250" height="100" align="center"> <img src="https://angular.cn/assets/images/logos/angular/angular.svg" width="90" height="90" align="center"> </div> <h2 align="center"> Element for Angular </h2>

npm version npm Join the chat at https://gitter.im/element-angular/Lobby

Catalog

Documentation

element-angular

Getting Started

  1. Install:
# install
npm i --save element-angular
  1. Usage:
// 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

Contribution

Support

Modern browsers and Internet Explorer 9+.

LICENSE

MIT