欢迎关注github:https://github.com/myopenresources
angular版 模版插座指令
安装
npm install cc-custom-tpl --save 或 yarn add cc-custom-tpl
使用
//========string-template-outlet========
// 业务模块
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { CustomTemplateModule } from 'cc-custom-tpl';
import { AppComponent } from './app.component';
import { HeaderComponent } from './header/header.component';
@NgModule({
declarations: [