2-4 啓動Angular應用的過程

要知道啓動angular應用的過程,需搞清楚三個問題: · 啓動時加載了哪個頁面? · 啓動時加載了哪些腳本? · 這些腳本做了什麼事? 1)angular-cli.json中(有前兩個問題的答案): 2)main.ts中: 3)app.module.ts中: 4)app.component.ts中: 5)app.component.html模板: 6)index.html 當加載完所有模塊後,A
相關文章
相關標籤/搜索