docs(struct-directives): update Dart cache (#2806)
Only minor prose edits in this PR. No net change in the generated HTML for the TS side.
This commit is contained in:
parent
0dfda08306
commit
e0aecb39d9
|
@ -43,6 +43,7 @@
|
|||
- var _appModuleTsVsAppCompTs = 'app/app.module.ts'
|
||||
- var _appModuleTsVsMainTs = 'app/app.module.ts'
|
||||
- var _bootstrapModule = 'bootstrapModule'
|
||||
- var _declsVsDirectives = 'declarations'
|
||||
- var _moduleVsComp = 'module'
|
||||
- var _moduleVsRootComp = 'module'
|
||||
- var _platformBrowserDynamicVsBootStrap = 'platformBrowserDynamic'
|
||||
|
|
|
@ -25,6 +25,7 @@ include ../../../_includes/_util-fns
|
|||
- var _appModuleTsVsAppCompTs = 'app/app_component.dart'
|
||||
- var _appModuleTsVsMainTs = 'web/main.dart'
|
||||
- var _bootstrapModule = 'bootstrap'
|
||||
- var _declsVsDirectives = 'directives'
|
||||
- var _moduleVsComp = 'component'
|
||||
- var _moduleVsRootComp = 'root component'
|
||||
- var _platformBrowserDynamicVsBootStrap = 'bootstrap'
|
||||
|
|
|
@ -3,7 +3,6 @@ extends ../../../ts/_cache/tutorial/toh-pt5
|
|||
block includes
|
||||
include ../_util-fns
|
||||
- var _appRoutingTsVsAppComp = 'AppComponent'
|
||||
- var _declsVsDirectives = 'directives'
|
||||
- var _RoutesVsAtRouteConfig = '@RouteConfig'
|
||||
- var _RouterModuleVsRouterDirectives = 'ROUTER_DIRECTIVES'
|
||||
- var _redirectTo = 'useAsDefault'
|
||||
|
|
|
@ -284,7 +284,7 @@ block unless-intro
|
|||
+makeExample('structural-directives/ts/app/unless.directive.ts', null, 'unless.directive.ts')
|
||||
|
||||
:marked
|
||||
Now we add it to the `directives`array of the host component and try it.
|
||||
Now we add it to the `!{_declsVsDirectives}` !{_array} of the !{_AppModuleVsAppComp} and try it.
|
||||
First we add some test HTML to the template:
|
||||
|
||||
+makeExample('structural-directives/ts/app/structural-directives.component.html', 'myUnless')(format=".")
|
||||
|
|
|
@ -284,7 +284,7 @@ block unless-intro
|
|||
+makeExample('structural-directives/ts/app/unless.directive.ts', null, 'unless.directive.ts')
|
||||
|
||||
:marked
|
||||
Now we add it to the `declarations` array of the AppModule and try it.
|
||||
Now we add it to the `!{_declsVsDirectives}` !{_array} of the !{_AppModuleVsAppComp} and try it.
|
||||
First we add some test HTML to the template:
|
||||
|
||||
+makeExample('structural-directives/ts/app/structural-directives.component.html', 'myUnless')(format=".")
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
block includes
|
||||
include ../_util-fns
|
||||
- var _appRoutingTsVsAppComp = 'app.module.ts'
|
||||
- var _declsVsDirectives = 'declarations'
|
||||
- var _RoutesVsAtRouteConfig = 'Routes'
|
||||
- var _RouterModuleVsRouterDirectives = 'RouterModule'
|
||||
- var _redirectTo = 'redirectTo'
|
||||
|
|
Loading…
Reference in New Issue