You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Description**-It is the path to the Angular project, relative to workspace.
331
334
332
-
1st-parameter: It is the path to the angular project, relative to workspace. It is of type String.
333
-
334
-
2nd-parameter: It is an optional parameter. It is the Custom output directory. it is of type String.
335
+
2. Second parameter:
336
+
-**optional**
337
+
-**type**- String
338
+
-**Description**- It is the custom output directory.
335
339
#### example
336
-
1. buildNg("exampleAngularProject")
337
-
Will build the angular project to default output directory defined in angular.json outputPath key, normally set to dist/.
340
+
* buildNg("exampleAngularProject")
341
+
Will build the Angular project to default output directory defined in angular.json outputPath key, normally set to dist/.
338
342
339
-
2. buildNg("exampleAngularProject", "testOutput")
340
-
Will build the angular project to output directory testOutput.
343
+
* buildNg("exampleAngularProject", "testOutput")
344
+
Will build the Angular project to output directory testOutput.
341
345
342
346
Note:
343
-
1. To use only one parameter, you should have angular installed and the folder should exist.
344
-
2. No background script will run. Katacoda user will have to manually execute this function.
347
+
1. To use only one parameter, you should have Angular CLI installed and the folder should exist. This can be done by using the devonfw-ide or by installing it manually with the npmInstall function.
348
+
349
+
2. The command for execution will be generated by katacoda runner, so user will have to execute this command manually.
0 commit comments