This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,12 @@ block install-packages
190
190
191
191
Every Angular application has at least one module: the _root module_, named `AppModule` here.
192
192
193
+ **Create #{_an} #{_appDir} subfolder** off the project root directory:
194
+
195
+ code-example.
196
+ mkdir #{_appDir}
197
+
198
+ :marked
193
199
Create the file `app/app.module.ts` with the following content:
194
200
195
201
+ makeExample('app/app.module.1.ts' )( format ='.' )
@@ -221,15 +227,10 @@ h1#root-component Step !{step++}: Create a component and add it to your applicat
221
227
Components are the basic building blocks of Angular applications. A component controls a portion
222
228
of the screen—a *view*—through its associated template
223
229
224
- **Create #{_an} #{_appDir} subfolder** off the project root directory:
225
-
226
- code-example.
227
- mkdir #{_appDir}
228
-
229
230
a#app-component
230
231
p.
231
232
#[ 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:
233
234
234
235
+ makeExample('app/app.component.ts' )
235
236
You can’t perform that action at this time.
0 commit comments