docs(astro): fix the generate library command (#21249)

This commit is contained in:
Indermohan Singh 2024-01-30 17:26:46 +01:00 committed by GitHub
parent ddb049bb5a
commit c46c28694f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,7 +113,7 @@ Then generate a project
The command below uses the `as-provided` directory flag behavior, which is the default in Nx 16.8.0. If you're on an earlier version of Nx or using the `derived` option, omit the `--directory` flag. See the [as-provided vs. derived documentation](/deprecated/as-provided-vs-derived) for more details.
{% /callout %}
```{% command="nx g @nx/js:lib ui --directory=libs/ui --simpleName --minimal}
```{% command="nx g @nx/js:lib ui --directory=libs/ui --simpleName --minimal"%}
> NX Generating @nx/js:library
✔ Which unit test runner would you like to use? · none