在项目所在目录的命令行中运行:
npm install ths-angular
在需要的module.ts中导入并声明:
import { ThsModule } from 'ths-angular';
imports: [..., ThsModule],
在HTML模板中添加标签,selector就是标签名。
<ths-hello-world></ths-hello-world>
在项目所在目录的命令行中运行:
npm install ths-angular
在需要的module.ts中导入并声明:
import { ThsModule } from 'ths-angular';
imports: [..., ThsModule],
在HTML模板中添加标签,selector就是标签名。
<ths-hello-world></ths-hello-world>
npm i ths-angular
2
0.0.4
none
70.1 kB
23