Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orlaqp/ng-material-components
Material components, directives and other usefull resource bundled together to speed your de development
https://github.com/orlaqp/ng-material-components
Last synced: about 1 month ago
JSON representation
Material components, directives and other usefull resource bundled together to speed your de development
- Host: GitHub
- URL: https://github.com/orlaqp/ng-material-components
- Owner: orlaqp
- License: mit
- Created: 2017-05-08T20:33:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-19T19:36:30.000Z (over 6 years ago)
- Last Synced: 2024-12-12T15:02:27.352Z (about 1 month ago)
- Language: CSS
- Size: 4.24 MB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
I no longer maintain this package so this repository is **deprecated**
Thanks to:
https://github.com/robisim74/angular-library-starter
*** How To Use ***
```
npm install -g angular-cli
ng new
cdnpm 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
```scss
@import '../node_modules/ng-material-components/bundles/app.css';
```finally, you should add it to your module by doing something like this:
```typescript
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)