0.0.19 • Published 7 years ago

ng-material-components v0.0.19

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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)

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago