Be more DRY when referencing examples and excerpts. E.g.,
```jade
+makeExcerpt('quickstart/ts/app/app.component.ts', 'import',
'app/app.component.ts (import)')
```
can now be just
```jade
+makeExcerpt('app/app.component.ts', 'import')
```
Defined new mixin for examples named `makeProjExample` using this new
scheme.
The original `makeExample` has been left untouched.
Applied new mixins to quickstart.
closes #1420
9 lines
200 B
TypeScript
9 lines
200 B
TypeScript
// #docregion
|
|
import { bootstrap } from '@angular/platform-browser-dynamic';
|
|
|
|
// #docregion import
|
|
import { AppComponent } from './app.component';
|
|
// #enddocregion import
|
|
|
|
bootstrap(AppComponent);
|