0.1.29 • Published 7 years ago

produto-1-module v0.1.29

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

produto-1-module

Installation

To install this library, run:

$ npm install produto-1-module --save

Consuming your library

Once you have published your library to npm, you can import your library in any Angular application by running:

$ npm install produto-1-module

and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import your library
import { ProdutoModule } from './../../produto-1-module/src/index';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Specify your library as an import
    ProdutoModule,
    LibraryModule
  ],
  providers:[
    // Specify yours providers
    ProdutoModule.forRoot().providers
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

It's a sample of a child project that can be change in package.json and the parent project will work as core and this module will have your own behavior, injecting menus itens and services. The parent project is hosted here https://github.com/Rafaelnanes/angularjs2-frontend.

Development

To generate all *.js, *.js.map and *.d.ts files:

$ npm run tsc

To lint all *.ts files:

$ npm run lint

License

MIT © Rafael Nanes

0.1.29

7 years ago

0.1.28

7 years ago

0.1.27

7 years ago

0.1.25

7 years ago

0.1.24

7 years ago

0.1.23

7 years ago

0.1.22

7 years ago

0.1.21

7 years ago

0.1.20

7 years ago

0.1.19

7 years ago

0.1.18

7 years ago

0.1.17

7 years ago

0.1.16

7 years ago

0.1.15

7 years ago

0.1.14

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.0

7 years ago