npm.io
10.1.22 • Published 4 years ago

mat-reduce

Licence
MIT
Version
10.1.22
Deps
9
Size
464 kB
Vulns
1
Weekly
0
Stars
1

mat-reduce

NPM Version License Downloads/week Github Issues

A less verbose angular material.

Get Started

yarn add mat-reduce

Simple (Without Quill)

To include all form controls, except the Quill Editor, use the following:

import { MatReduceCoreModule } from 'mat-reduce-core';

@NgModule({
  ...,
  MatReduceCoreModule,
  ...
})
Advanced (With Quill)

To include all modules and the <form-quill-editor />, use the following:

import { MatReduceModule } from 'mat-reduce';

@NgModule({
  ...,
  MatReduceModule,
  ...
})

Add the quill script to angular.json, like so:

...
"scripts": [
  "node_modules/quill/dist/quill.min.js"
],
...

Development

To develop on this locally, simply clone this repo and run:

yarn
yarn start

And a development demo of each of the controls is available on http://localhost:4567

Keywords