- Install Node.js
- Install pnpm
- Install Nx CLI
pnpm installpnpm exec nx g @app/plugin:app <app-name>Your app will be created in the web/apps/<app-name> directory.
To start the app, run:
pnpm exec nx serve <app-name>Or you can add below script to package.json:
"scripts": {
"start:<app-name>": "pnpm exec nx serve <app-name>"
}Then you can run:
pnpm run start:<app-name>pnpm exec nx g @app/plugin:library <lib-name>pnpm exec nx g @app/plugin:component <component-name>pnpm exec nx g @app/plugin:dialog <dialog-name>