Angular8 - 项目结构

文件说明
e2eend to end test
node_modules依赖
src项目文件
.editorconfigEditor configuration, see https://editorconfig.org
.gitignorehttp://help.github.com/ignore-files/
angular.json
browserslist构建系统使用此文件来调整CSS和JS输出以支持指定的浏览器https://github.com/browserslist/browserslist#queries
karma.conf.jsKarma configuration file. https://karma-runner.github.io/1.0/config/configuration-file.html
package.json项目配置文件
README.md
tsconfig.app.json
tsconfig.jsonts默认配置文件
tsconfig.spec.json
tslint.jsontslint默认配置文件
src目录下文件说明
app定义组件、服务
app/app.component.css首页样式
app/app.component.html首页内容
app/app.component.spec.ts测试
app/app.component.ts加载 app.component.html 和 app.component.css
app/app.module.ts加载 app.component.ts,该文件是angularjs的根模块,告诉angular如何组装应用
assets/.gitkeep静态资源
environments/environment.prod.ts生产环境变量配置
environments/environment.ts环境变量配置
assets/.gitkeep
favicon.ico网站图标
index.html入口html文件
main.ts加载 ./app/app.module
polyfills.ts
styles.cssYou can add global styles to this file, and also import other style files 公共的css文件
test.tsThis file is required by karma.conf.js and loads recursively all the .spec and framework files
app.module.ts文件说明
declarations配置组件
imports配置依赖的其他模块
providers配置服务
bootstrap指定应用的根组件
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值