@stanvanheumen/ngx-elements
v1.0.16
Published
A simple framework that contains Angular elements.
Downloads
5
Readme
ngx-elements
Simply add some elements that can be used in your Angular 5+ project.
- Use command + F or ctrl + F to search for a keyword.
- Contributions welcome, please see contribution guide.
Features
- :camel: Easy implementation
- :mouse: Lazy loading compatible
- :sheep: Angular Universal compatible
- :bird: Ahead-Of-Time compilation compatible
Demo
Click here to play with the example
Installation
To use ngx-elements in your project install it via npm
or yarn
:
$ npm install @stanvanheumen/ngx-elements --save
# or
$ yarn add @stanvanheumen/ngx-elements
To get the best styling you can import the styling.scss
that is included in the library.
@import '~@stanvanheumen/ngx-elements/vendor/styles';
To get the correct fonts and icons you should add these two link-tags to the head
section of your index.html
(these are not included for performance).
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet">