ionic3 入門【2】 創建組件

創建組件 ionic g component   actionsheet (actionsheet爲組件名稱) 默認的components.modules.ts會引入組件 這個組件在哪裏使用就在哪裏的HTML寫上<actionsheet></actionsheet> 即可如在about.html中 <ion-content padding> 引入actionsheet組件 <actions
相關文章
相關標籤/搜索