# msx-ui-template-management **Repository Path**: mirrors_CiscoDevNet/msx-ui-template-management ## Basic Information - **Project Name**: msx-ui-template-management - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-22 - **Last Updated**: 2025-10-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # @msx/template-management ## Description Common Device Template Management components and directives for MSX platform and service packs. Testing components coming later ## Installation This package is already installed in `msx-ui`. For service packs, ensure you have installed and are using `@msx/webpack-externals` in your Webpack configuration, and add `@msx/template-management` to your package.json's `peerDependencies` and `devDependencies`. This ensures that your package indicates that it depends on `@msx/template-management` to run, but will install the package locally during development for use in your unit tests. ```json { "name": "my-service-pack", "peerDependencies": { "@msx/template-management": "^1.0.0" }, "devDependencies": { "@msx/template-management": "^1.0.0" } } ``` Afterwards, it can be used by importing the `TemplateManagementModule` from `@msx/template-management`: ```typescript import { NgModule } from '@angular/core'; import { TemplateManagementModule } from '@msx/template-management'; @NgModule({ imports: [ TemplateManagementModule ] }) export class MyModule {} ``` This package also exposes a downgraded AngularJs module, for use in your service pack. Simply import the `@msx/template-management` file, and add it to your angular module dependencies. ```javascript import angular from 'angular'; import '@msx/template-management'; export default angular .module('sda', [ 'msx.template-management' ]); ```