1.7.0 • Published 7 years ago

mallorca-ng v1.7.0

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

MallorcaJS logo

build status npm coveralls commitizen friendly semantic-release styled with prettier license

What is MallorcaNG?

An Angular library with common recipes (components, directives, pipes, services, etc) for your apps. Compatible with AoT and compilation & Tree shaking.

Getting Started

You can add mallorca-ng to your project using npm:

npm install mallorca-ng --save 

To install the pre-release package:

npm install --save mallorca-ng@next
// app.module.ts
import { MallorcaCommonModule } from 'mallorca-ng';

@NgModule({
    // ...
    imports: [
        MallorcaCommonModule.forRoot()        
    ]
}
export class AppModule { }

Documentation

Documentation available at Docs

Demo

Editable sample app available at Live demo

Loading

Using SystemJS configuration

System.config({
    map: {
        'mallorca-ng': 'node_modules/mallorca-ng/bundles/mallorca-ng.umd.js'
    }
});

Angular CLI

No need to set up anything, just import it in your code.

Rollup or webpack

No need to set up anything, just import it in your code.

Plain JavaScript

If you build apps in Angular using ES5, you can include the umd bundle in your index.html:

<script src="node_modules/mallorca-ng/bundles/mallorca-ng.umd.js"></script>

and use global ng.mallorcaNG namespace.

AoT compilation, Server Side Rendering & strict

This library is compatible with AoT compilation & Server Side Rendering. It also supports the strict TypeScript compiler option.

Contribute

It would be awesome if you would like to contribute code or help with bugs. Just follow the guidelines CONTRIBUTING.

Aditional Resources

License

MIT

1.7.0

7 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.0

7 years ago

0.0.1

7 years ago