/element-angular

Element for Angular

Primary LanguageTypeScriptMIT LicenseMIT

Element for Angular

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