1.0.8 • Published 1 year ago
@geominfo/geometry-register v1.0.8
GeometryRegister
This library was generated with Angular CLI version 13.3.10.
如何配置
此angular library 基于ng-zorro-antd组件库,所以必须先安装ng-zorro-antd组件库.
资源配置
在angular.json文件中引入资源文件
{
"architect": {
"build": {
"options": {
"assets": [
{
"glob": "**/*",
"input": "node_modules/@geominfo/geometry-register/src/assets/",
"output": "assets/"
}
]
}
}
}
}
导入模块
- 在AppModule模块中引入GeometryRegisterModule
import { GeometryRegisterModule } from "@geominfo/geometry-register";
@NgModule({
declarations: [],
imports: [
...,
GeometryRegisterModule,
],
bootstrap: [AppComponent]
})
export class AppModule { }