DarcyAnn / element-angular

Element for Angular

Home Page:https://element-angular.faas.ele.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Element for Angular

https://element-angular.faas.ele.me

License:MIT License


Languages

Language:TypeScript 77.6%Language:HTML 13.5%Language:CSS 5.5%Language:JavaScript 3.1%Language:C++ 0.3%