Angular -- CLI目录结构

  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进行代码检测时候的配置文件

posted @ 2020-01-19 11:21  hannahY  阅读(372)  评论(0编辑  收藏  举报