Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 4f17fd1

Browse files
committed
docs(quickstart): remove instruction
1 parent 745f055 commit 4f17fd1

File tree

3 files changed

+15
-18
lines changed

3 files changed

+15
-18
lines changed

public/docs/_examples/quickstart/ts/app/app.module.1.ts

-8
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
// #docregion
1+
// #docplaster
2+
// #docregion v1, full
23
import { NgModule } from '@angular/core';
34
import { BrowserModule } from '@angular/platform-browser';
45

6+
// #enddocregion v1
57
import { AppComponent } from './app.component';
68

9+
// #docregion v1
710
@NgModule({
811
imports: [ BrowserModule ],
12+
// #enddocregion v1
913
declarations: [ AppComponent ],
1014
bootstrap: [ AppComponent ]
15+
// #docregion v1
1116
})
12-
1317
export class AppModule { }

public/docs/ts/latest/quickstart.jade

+9-8
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,15 @@ block install-packages
190190

191191
Every Angular application has at least one module: the _root module_, named `AppModule` here.
192192

193+
**Create #{_an} #{_appDir} subfolder** off the project root directory:
194+
195+
code-example.
196+
mkdir #{_appDir}
197+
198+
:marked
193199
Create the file `app/app.module.ts` with the following content:
194200

195-
+makeExample('app/app.module.1.ts')(format='.')
201+
+makeExample('app/app.module.ts', 'v1')(format='.')
196202

197203
:marked
198204
This is the entry point to your application.
@@ -221,15 +227,10 @@ h1#root-component Step !{step++}: Create a component and add it to your applicat
221227
Components are the basic building blocks of Angular applications. A component controls a portion
222228
of the screen—a *view*—through its associated template
223229

224-
**Create #{_an} #{_appDir} subfolder** off the project root directory:
225-
226-
code-example.
227-
mkdir #{_appDir}
228-
229230
a#app-component
230231
p.
231232
#[b Create the component file]
232-
#[code #[+adjExPath('app/app.component.ts')]] (in this newly created directory) with the following content:
233+
#[code #[+adjExPath('app/app.component.ts')]] with the following content:
233234

234235
+makeExample('app/app.component.ts')
235236

@@ -255,7 +256,7 @@ p.
255256
Edit the file `app/app.module.ts` to import your new `AppComponent` and add it in the
256257
declarations and bootstrap fields in the `NgModule` decorator:
257258

258-
+makeExample('app/app.module.ts', null, title='app/app.module.ts')
259+
+makeExample('app/app.module.ts', 'full', 'app/app.module.ts')
259260

260261
.l-main-section
261262
h1#main Step !{step++}: Start up your application

0 commit comments

Comments
 (0)