1.2.14 • Published 3 years ago

@cisco-msx/template-management v1.2.14

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

@cisco-msx/template-management

Shared Angular components for MSX template management.

Usage

This package is already installed in msx-ui.

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

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

Afterwards, it can be used by importing the TemplateManagementModule from @cisco-msx/template-management:

import { NgModule } from '@angular/core';
import { TemplateManagementModule } from '@cisco-msx/template-management';

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

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

import angular from 'angular';
import '@cisco-msx/template-management';

export default angular
    .module('spmodule, [
        'msx.template-management'
    ]);
1.2.14

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

4 years ago

1.2.9

3 years ago

1.2.12

3 years ago

1.2.13

3 years ago

1.2.10

3 years ago

1.2.11

3 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago