Skip to content

Commit

Permalink
docs(angular): devkit code sample (nrwl#5717)
Browse files Browse the repository at this point in the history
* docs(angular): docs(core): move child-process section to the end

* docs(angular): apply docs changes

* docs(angular): copy paste error

Co-authored-by: Isaac Mann <[email protected]>
  • Loading branch information
isaacplmann and Isaac Mann authored May 22, 2021
1 parent 646bb72 commit cef3dce
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/angular/guides/nx-devkit-angular-devkit.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ interface Schema {
message: string;
allCaps: boolean;
}

export default function (
export function run(
options: Schema,
context: BuilderContext
): Observable<{ success: true }> {
Expand All @@ -194,3 +193,7 @@ The schema files for both Nx Devkit executors and Angular Builders are the same.
If you are writing an Nx plugin, use Nx Devkit. It's **much** easier to use and debug. It has better docs and more people supporting it.

Do you have to rewrite your Nx Plugin if it is written using Angular Devkit? No. Nx supports both and will always support both. And, most importantly, the end user might not even know what you used to write a generator or an executor.

```
```

0 comments on commit cef3dce

Please sign in to comment.