首页 > 其他 > 详细

Angular —— CLI目录结构

时间:2020-01-19 12:13:28      阅读:76      评论:0      收藏:0      [点我收藏+]
  1. e2e :端对端的测试目录,主要是集成测试操作的

  2. node_modules :项目的模块依赖目录

  3. src :项目的代码目录

    • app :包括应用的组件和模块

      • app.component.css :全局样式文件

      • app.component.html :全局模板文件

      • app.component.spec.ts :单元测试文件

      • app.component.ts :脚本文件

      • app.module.ts :数据模型定义文件

    • assets :资源文件目录

    • enviroments :环境配置目录

    • index.html :主页面

    • main.ts :脚本入口文件

    • polyfills.ts :检测兼容的文件信息

    • styles.css :全局的样式文件

    • test.ts :单元测试入口文件

    • tsconfig.app.json :ts的配置文件

    • tsconfig.spac.json :测试配置文件

    • typings.d.ts :系统模块定义文件

  4. angular-cli.json : angular-cli的配置文件

  5. editorcongif :编辑器的配置文件

  6. gitignore : git代码版本忽略的配置文件

  7. karma.conf.js :karma的配置文件

  8. package.json :项目初始化管理文件

  9. protractor.conf.js :整体集成测试配置文件

  10. README.md :说明说

  11. tsconfig.json :ts的配置文件

  12. tslint.json :ts进行代码检测时候的配置文件

Angular —— CLI目录结构

原文:https://www.cnblogs.com/yanghana/p/12212960.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!