Skip to content
项目

toddmotto/angular-architecture

在 GitHub 查看

关于

面向团队的 Angular 架构指南。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Angular Architecture Guide

A cohesive guide for building Angular applications for teams.

:warning: Work In Progress :warning:

Folder Structure

index.html
app/
│    app.component.scss
│    app.component.spec.ts
│    app.component.ts
│    app.module.ts
└──  meal-planner/
   │         meal-planner.module.ts
   │         meal-planner.service.spec.ts
   │         meal-planner.service.ts
   ├── components/
   │         meal-viewer/
   │             meal-viewer.component.scss
   │             meal-viewer.component.spec.ts
   │             meal-viewer.component.ts
   │         meal-editor/
   │             meal-editor.component.scss
   │             meal-editor.component.spec.ts
   │             meal-editor.component.ts
   │         meal-recipe/
   │             meal-recipe.component.scss
   │             meal-recipe.component.spec.ts
   │             meal-recipe.component.ts
   ├── containers/
   │         meal-planner/
   │             meal-planner.component.scss
   │             meal-planner.component.spec.ts
   │             meal-planner.component.ts
   └── models/
              meal.interface.ts
              recipe.interface.ts

Stuff I wanna include

  • Root + feature module architecture

  • Directory structure

  • TypeScript models/interfaces

  • CSS options (Sass/etc)

  • Component architecture

  • Container + Presentational components

  • State management (ngrx/store etc)

  • Route configuration

  • Structure practices (maybe lifecycle hooks/DI practices)

  • Tooling (AoT/Webpack/etc)

  • Build process info (platforms)

  • Resources section

探索相关项目

加载中…