angular建立組件

angular建立組件,須要經過命令。app

ng g component 文件夾名/組件名

輸入命令後從新運行。在app文件中會生成對應的文件夾和組件。code

相關文章
相關標籤/搜索