Skip to content

Commit

Permalink
docs(angular): fixup the preset to allow apps directory #12958 (#13025)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Nov 7, 2022
1 parent aef708a commit b188814
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions docs/shared/guides/module-federation/dynamic-mfe-angular.md
Expand Up @@ -42,29 +42,7 @@ npx create-nx-workspace ng-mf
yarn create nx-workspace ng-mf --packageManager=yarn
```

You'll be prompted for a preset. We recommend selecting `empty` as it will allow you finer control over your workspace configuration.

You'll also be prompted if you would like to setup Nx Cloud. For this tutorial select `No`, however, I highly recommend that you read more about it [here](https://nx.app/).

### Add the Angular Plugin

To add Angular-related features to our newly created monorepo we need to install the Angular Plugin. Again, this is pretty easy to do:

{% callout type="warning" title="Be at the root" %}
Check that you are now at the root of your monorepo in your terminal. If not, run `cd ng-mf`.
{% /callout %}

```shell
# Npm
npm install --save-dev @nrwl/angular
```

```shell
# Yarn
yarn add -D @nrwl/angular
```

Simple! You are now able to use Nx Generators to scaffold Angular applications and libraries.
You'll be prompted for a preset. Select `"Angular"`.

### Creating our applications

Expand Down

1 comment on commit b188814

@vercel
Copy link

@vercel vercel bot commented on b188814 Nov 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.