1. 使用
<app-example-viewer>
组件需配置
[path]
用于加载 html、ts、css ,此三个文件需在
assets/codes/demo 文件夹下新增,具体看示例。
2. 使用<app-doc-api>组件,需配置
[properties],properties为一个数组内嵌对象,建议引入接口
Propertiy,或者配置
[others],others为一个数组内嵌对象,建议引入接口
others,两者二选一。
3. 具体示例参照 datepicker。
1. 在src/app/pages下新增自己Demo组件。
2. 在src/app/menuData.ts中新增自己菜单。
3. 在src/assets/codes文件夹下新增自己文件夹,最深层文件夹中必须包括html、ts、css三个txt文件。
4. 完成组件demo开发,并配置html、ts、css三个txt文件内容。