New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ng-material-components

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-material-components

Material components, directives and other usefull resource bundled together to speed your de development

latest
Source
npmnpm
Version
0.0.19
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

Thanks to:

https://github.com/robisim74/angular-library-starter

*** How To Use ***

npm install -g angular-cli
ng new <app name>
cd <app name>

npm install --save ng-material-components

then, edit the style.css file from you angular app and import the css of the library. Add the following line

@import '../node_modules/ng-material-components/bundles/app.css';

finally, you should add it to your module by doing something like this:

import {
  MaterialFormsModule,
  MaterialUserInterfaceModule
} from 'ng-material-components/modules/ng-material-components';

...

@NgModule({
  imports: [
      ...
      MaterialFormsModule.forRoot(),
      MaterialUserInterfaceModule.forRoot()
      ...
  ],
  declarations: [
      ...
  ],
  exports: [
    ...
  ],
  providers: [
      ...
  ]
})
export class AppModule { }

And that should be it.

I am working on a new demo site that will allow you to easily copy and paste sample code to test all the library controls into your app.

Enjoy!

(More documentation is coming)

Keywords

angular

FAQs

Package last updated on 28 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts