1.2.4 • Published 3 years ago

@cisco-msx/sites v1.2.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

@cisco-msx/sites

Shared Angular components for managing MSX sites.

Usage

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

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

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

import { NgModule } from '@angular/core';
import { SitesModule } from '@cisco-msx/sites';

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

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

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

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

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago