Ionic 3 自定義組件的使用

1. 創建組件 ionic g component myComponent myComponent爲組件名稱 創建好後,生成的文件如下圖    2. 在Page 中使用 使用的是home 在home.html加入 1 2 3 < ion-content  padding>    < my ></ my > </ ion-content > 2.1 在home.module.ts中加入Compone
相關文章
相關標籤/搜索