spikes-ng2-components
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Spikes Angular Components

We have been working with Angular for a while now and in doing so developed the need to reuse components accross projects.

This repository will hold the source code of some components as well as a demo project to showcase those components.

Dependencies

Installation

After installing the dependencies, install spikes-ng2-componentsvia:

npm install spikes-ng2-components [--save]

Once installed you need to import the module in your AppModule:

import { SpikesNg2ComponentsModule } from 'spikes-ng2-components';

@NgModule({
  declarations: [
    ...
  ],
  imports: [    
    ...,
    SpikesNg2ComponentsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Angular-CLI

If you are using the angular-cli to build your app, don't forget to add the styles and scripts to the .angular-cli.json file.

{
  ...
  "apps": [
    {
      ...
      "styles": [
        "../node_modules/bootstrap/dist/css/bootstrap.css",
        "../node_modules/font-awesome/css/font-awesome.css",
        "styles.css"
      ],
      "scripts": [
      ],
      ...
    }
  ],
  ...
}

Documentation

Further documentation can be found here

Versions

Current Tags

Version History

Package Sidebar

Install

npm i spikes-ng2-components

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • debiese