docs(nx-plugin): update local-executors.md

Change path for generation of my-plugin to libs/my-plugin

nx g @nx/plugin:plugin libs/my-plugin

This makes it work with the plugin executor generate command.
This commit is contained in:
cdwheatley 2024-05-22 16:22:28 -05:00 committed by Craigory Coppola
parent 215bc42c11
commit 56a3af6f9d

View File

@ -10,7 +10,7 @@ If you don't already have a local plugin, use Nx to generate one:
```shell {% skipRescope=true %} ```shell {% skipRescope=true %}
nx add @nx/plugin nx add @nx/plugin
nx g @nx/plugin:plugin my-plugin nx g @nx/plugin:plugin libs/my-plugin
``` ```
Use the Nx CLI to generate the initial files needed for your executor. Use the Nx CLI to generate the initial files needed for your executor.