docs(quickstart): show qs files via code-tabs for Dart (#2839)
This commit is contained in:
parent
79375cab3e
commit
448fd4f0b3
|
@ -46,11 +46,6 @@ block create-your-app
|
|||
:marked
|
||||
Let's create a folder to hold our application and add a super-simple Angular component.
|
||||
|
||||
block annotation-fields
|
||||
:marked
|
||||
The call to the `@Component` constructor has two
|
||||
named parameters, `selector` and `template`.
|
||||
|
||||
block create-main
|
||||
p.
|
||||
Now we need something to tell Angular to load the root component.
|
||||
|
@ -196,6 +191,8 @@ block project-file-structure
|
|||
other directories and dotfiles.
|
||||
|
||||
block project-files
|
||||
:marked
|
||||
Try the <live-example></live-example>, or view the files here:
|
||||
+makeTabs(`
|
||||
quickstart/ts/app/app.component.ts,
|
||||
quickstart/ts/app/main.ts,
|
||||
|
|
|
@ -5,7 +5,6 @@ block includes
|
|||
- var _angular_browser_uri = '@angular/platform-browser-dynamic'
|
||||
- var _angular_core_uri = '@angular/core'
|
||||
- var _stepInit = 4 // Step # after NgModule step
|
||||
- var _quickstartSrcURL='https://github.com/angular/quickstart/blob/master/README.md'
|
||||
|
||||
//- TS/Dart shared step counter
|
||||
- var step = _stepInit
|
||||
|
@ -43,7 +42,7 @@ h1 Build this application!
|
|||
- [Step !{step++}](#index): Define the web page that hosts the application.
|
||||
- [Step !{step++}](#build-and-run): Build and run the application.
|
||||
- [Step !{step++}](#make-changes): Make some live changes.
|
||||
- [Wrap up and Next Steps](#wrap-up)
|
||||
- [Wrap up and next steps](#wrap-up)
|
||||
|
||||
- var step = _stepInit // reinitialize step counter for headers to come
|
||||
|
||||
|
@ -360,8 +359,10 @@ block project-file-structure
|
|||
.file styles.css
|
||||
.file systemjs.config.js
|
||||
.file tsconfig.json
|
||||
:marked
|
||||
To see the file contents, open the <live-example></live-example>.
|
||||
|
||||
block project-files
|
||||
:marked
|
||||
To see the file contents, open the <live-example></live-example>.
|
||||
|
||||
.l-main-section
|
||||
:marked
|
||||
|
|
|
@ -42,7 +42,7 @@ h1 Build this application!
|
|||
- [Step !{step++}](#index): Define the web page that hosts the application.
|
||||
- [Step !{step++}](#build-and-run): Build and run the application.
|
||||
- [Step !{step++}](#make-changes): Make some live changes.
|
||||
- [Wrap up and Next Steps](#wrap-up)
|
||||
- [Wrap up and next steps](#wrap-up)
|
||||
|
||||
- var step = _stepInit // reinitialize step counter for headers to come
|
||||
|
||||
|
@ -359,8 +359,10 @@ block project-file-structure
|
|||
.file styles.css
|
||||
.file systemjs.config.js
|
||||
.file tsconfig.json
|
||||
:marked
|
||||
To see the file contents, open the <live-example></live-example>.
|
||||
|
||||
block project-files
|
||||
:marked
|
||||
To see the file contents, open the <live-example></live-example>.
|
||||
|
||||
.l-main-section
|
||||
:marked
|
||||
|
|
Loading…
Reference in New Issue