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
相关文章
相关标签/搜索