- Update artifact generator schemas: - Clarify `path` is the artifact file path relative to the current working directory - Clarify `name` is the artifact symbol name - Remove prompt for `name` and remove it from the important options (won't be displayed by default in Nx Console generation UI, it will be part of the collapsed options) given that most of the time, it's meant to match the filename (last segment of the `path`) - Remove some leftover options related to the name and path formats that were previously missed - Fix an issue with NestJS generators - Fix an issue with Next `page` generator <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
658 B
658 B
| title | description |
|---|---|
| Vue application generator examples | This page contains examples for the @nx/vue:app generator. |
Examples
{% tabs %} {% tab label="Simple Application" %}
Create an application named my-app:
nx g @nx/vue:app apps/my-app
{% /tab %}
{% tab label="Specify style extension" %}
Create an application named my-app in the my-dir directory and use scss for styles:
nx g @nx/vue:app apps/my-dir/my-app --style=scss
{% /tab %}
{% tab label="Add tags" %}
Add tags to the application (used for linting).
nx g @nx/vue:app apps/my-app --tags=scope:admin,type:ui
{% /tab %} {% /tabs %}