@nstudio/schematics
Version:
Cross-platform (xplat) tools for Nx workspaces.
25 lines (21 loc) • 700 B
text/typescript
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
// libs
import { LogService } from '@<%= npmScope %>/core';
import { ItemService, ItemDetailBaseComponent } from '@<%= npmScope %>/features';
import { AppService } from '@<%= npmScope %>/nativescript/core/services/app.service';
({
moduleId: module.id,
selector: '<%= prefix %>-item-detail',
templateUrl: './item-detail.component.html'
})
export class ItemDetailComponent extends ItemDetailBaseComponent {
constructor(
log: LogService,
itemService: ItemService,
route: ActivatedRoute,
public appService: AppService
) {
super(log, itemService, route);
}
}