0.6.0 • Published 10 years ago

ng-bcomponents v0.6.0

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

ng-bcomponents

This project is a collection of bootstrap components (bcomponents) as angular 2 components. Instead of having to write nested markup for a bootstrap heading, you would use <bc-heading [title]="'My awesome heading'"></bc-heading>.

Installation and Usage

npm

To install with npm run the following command:
npm i ng-bcomponents

For SystemJS add this to your systemjs.config.js file:

var map = {
    // Your other libraries here
    'ng-bcomponents':                'node_modules/ng-bcomponents'
};
var packages = {
    // Your other libraries here
    'ng-bcomponents':                { main: 'index.js', defaultExtension: 'js' }
};
var config = {
    map: map,
    packages: packages,
    defaultJSExtensions: true
};
System.config(config);

Usage

Import the NgBComponentsModule into your app module and add it to your app module's imports

import {NgBComponentsModule} from 'ng-bcomponents';
import {BComponent} from 'ng-bcomponents';
@NgModule({
    imports: [NgBComponentsModule]
})
export class AppModule {
    constructor() {
        //Uncomment to disable auto identifiers
        //BComponent.disableAutoIdentifier();
    }
}
0.6.0

10 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.5

10 years ago

0.4.4

10 years ago

0.4.3

10 years ago

0.4.2

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago

0.3.4

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago