Skip to content

yinjs/element-angular

 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.8%
  • HTML 13.3%
  • CSS 5.4%
  • JavaScript 3.0%
  • Other 0.5%