Angular Material介紹

首先需要安裝Angular Material ,它需要安裝成dependency cnpm i –save @angular/[email protected] 安裝後package.json中的dependencies會自動加入 學習第一個Material組件 SideNav 它是用來做側邊欄導航的 在header當中它並不知道sidebar在哪兒, 我只需要在根組件當中知道header被點擊了
相關文章
相關標籤/搜索