Skip to content

Commit

Permalink
docs(misc): add video embed about custom presets
Browse files Browse the repository at this point in the history
  • Loading branch information
juristr authored and sidmonta committed Apr 2, 2022
1 parent fd0d6ed commit 2ac9823
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/shared/nx-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ We will then verify the plugin, offer suggestions or merge the pull request!

A Preset is a customization option which you provide when creating a new workspace. TS, Node, React are some of the internal presets that Nx provides by default.

<iframe loading="lazy" width="560" height="315" src="https://www.youtube.com/embed/yGUrF0-uqaU" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; fullscreen"></iframe>

### Custom Preset

At its core a preset is a generator, which we can create inside of a plugin.
Expand Down Expand Up @@ -257,8 +259,3 @@ After you have published your plugin to a registry you can now use your preset w
```bash
npx create-nx-workspace my-workspace --preset=my-plugin-name
```

### Useful links

- [Preset Video by Juri](https://www.youtube.com/watch?v=yGUrF0-uqaU)
- [Preset release docs](https://blog.nrwl.io/single-file-monorepo-config-custom-workspace-presets-improved-tailwind-support-and-more-in-nx-13-1bc88da334c9)

0 comments on commit 2ac9823

Please sign in to comment.