- Install:
# install
npm i --save element-angular
- 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
Modern browsers and Internet Explorer 9+.
MIT