docs(style-guide): fix folder structure in 04 to match what we do. (#2535)
closes issue #2533
This commit is contained in:
parent
a2744e7ece
commit
bf97a9a2e1
@ -1111,10 +1111,10 @@ a(href="#toc") Back to top
|
|||||||
|
|
||||||
a(id='file-tree')
|
a(id='file-tree')
|
||||||
:marked
|
:marked
|
||||||
Folder and File Structure
|
Here is a compliant folder and file structure
|
||||||
|
|
||||||
.filetree
|
.filetree
|
||||||
.file src
|
.file <project root>
|
||||||
.children
|
.children
|
||||||
.file app
|
.file app
|
||||||
.children
|
.children
|
||||||
@ -1160,8 +1160,8 @@ a(id='file-tree')
|
|||||||
.file villains.module.ts
|
.file villains.module.ts
|
||||||
.file villains-routing.module.ts
|
.file villains-routing.module.ts
|
||||||
.file app.component.ts|html|css|spec.ts
|
.file app.component.ts|html|css|spec.ts
|
||||||
.file app.module.ts
|
.file app.module.ts
|
||||||
.file app-routing.module.ts
|
.file app-routing.module.ts
|
||||||
.file main.ts
|
.file main.ts
|
||||||
.file index.html
|
.file index.html
|
||||||
.file ...
|
.file ...
|
||||||
@ -1226,11 +1226,11 @@ a(href="#toc") Back to top
|
|||||||
|
|
||||||
.s-rule.do
|
.s-rule.do
|
||||||
:marked
|
:marked
|
||||||
**Do** create an Angular module at the root of the application.
|
**Do** create an Angular module in the app's root folder (e.g., in `/app`).
|
||||||
|
|
||||||
.s-why
|
.s-why
|
||||||
:marked
|
:marked
|
||||||
**Why?** Every app requires at least one Angular module.
|
**Why?** Every app requires at least one root Angular module.
|
||||||
|
|
||||||
.s-rule.consider
|
.s-rule.consider
|
||||||
:marked
|
:marked
|
||||||
|
Loading…
x
Reference in New Issue
Block a user