{% tabs %} {% tab label="Create static page in an app" %}
nx g page my-page --project=my-app
{% /tab %} {% tab label="Create dynamic page in an app" %}
The following creates a page under apps/my-app/pages/products/[id].tsx
.
nx g page "[id]" --project=my-app --directory=products
{% /tab %}
{% /tabs %}