@cisco-msx/devices
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

@cisco-msx/devices

Shared Angular components for managing MSX devices.

Usage

For service packs and extensions, ensure you have installed and are using @cisco-msx/webpack-externals in your Webpack configuration, and add @cisco-msx/devices to your package.json's peerDependencies and devDependencies. This ensures that your package indicates that it depends on @cisco-msx/devices to run, but will install the package locally during development for use in your unit tests.

{
  "name": "my-service-pack",
  "peerDependencies": {
    "@cisco-msx/devices": "^1.0.0"
  },
  "devDependencies": {
    "@cisco-msx/devices": "^1.0.0"
  }
}

Afterwards, it can be used by importing the DevicesModule from @cisco-msx/devices:

import { NgModule } from '@angular/core';
import { DevicesModule } from '@cisco-msx/devices';

@NgModule({
  imports: [
    DevicesModule
  ]
})
export class MyModule {}

This package also exposes a downgraded AngularJS module, for use in AngularJS service packs. Simply import the @cisco-msx/devices module, and add its AngularJS module name to your module's dependencies.

import angular from 'angular';
import '@cisco-msx/devices';

export default angular
    .module('spmodule, [
        'msx.devices'
    ]);

Readme

Keywords

none

Package Sidebar

Install

npm i @cisco-msx/devices

Weekly Downloads

0

Version

1.2.3

License

MIT

Unpacked Size

129 kB

Total Files

51

Last publish

Collaborators

  • caygin
  • eturriff
  • vdhaneku
  • rathsaba
  • jjurkiew
  • hagraham
  • posze
  • nstehr-cisco