861 B
861 B
| title | description |
|---|---|
| Nuxt application generator examples | This page contains examples for the @nx/nuxt:app generator. |
Examples
{% tabs %} {% tab label="Create app in a directory" %}
{% callout type="note" title="Directory Flag Behavior Changes" %}
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, use --directory=nested. See the as-provided vs. derived documentation for more details.
{% /callout %}
nx g app myapp --directory=apps/nested/myapp
{% /tab %} {% tab label="Use a custom Express server" %}
nx g app myapp --custom-server
{% /tab %} {% tab label="Use plain JavaScript (not TypeScript)" %}
nx g app myapp --js
{% /tab %} {% /tabs %}