32 lines
917 B
Markdown
32 lines
917 B
Markdown
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
|
|
|
{{links}}
|
|
|
|
<hr>
|
|
|
|
# Nest.js Plugin for Nx
|
|
|
|
{{what-is-nx}}
|
|
|
|
{{getting-started}}
|
|
|
|
```
|
|
? Workspace name (e.g., org name) happyorg
|
|
? What to create in the new workspace angular-preset [a workspace with a full stack application (Angular + Nest)]
|
|
? Application name myapp
|
|
? Default stylesheet format CSS
|
|
```
|
|
|
|
You can also select `empty` and add `@nrwl/nest` plugin using yarn or npm, and then generate a new express app using `nx g @nrwl/nest:app myapp`.
|
|
|
|
If it's your first Nx project, the command will recommend you to install `@nrwl/cli` globally, so you can invoke `nx` directly without going through yarn or npm.
|
|
|
|
## Serving Application
|
|
|
|
- Run `nx serve myapp` to serve the newly generated application!
|
|
- Run `nx test myapp` to test it.
|
|
|
|
You are good to go!
|
|
|
|
{{resources}}
|