Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update new-command-samples.md #20502

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docs/en/cli/new-command-samples.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ The following commands are for creating Angular UI projects:
abp new Acme.BookStore -t app -u angular -m none --separate-auth-server --database-provider mongodb -csf
```

* **No DB migration!**, the DB migration will not be generated

```bash
abp new Acme.BookStore -u angular --skip-migrations --skip-migrator
```

## MVC

The following commands are for creating MVC UI projects:
Expand Down Expand Up @@ -72,7 +78,12 @@ The following commands are for creating MVC UI projects:

_Note that Public Website is only included in PRO templates._

* **No initial configuration!**, the DB migration will not be generated, client-side scripts will not be installed and bundling will not run

```bash
abp new Acme.BookStore -u mvc --skip-migrations --skip-migrator --dont-run-install-libs --dont-run-bundling
```

## Blazor WebAssembly

The following commands are for creating Blazor WASM projects:
Expand All @@ -94,6 +105,12 @@ The following commands are for creating Blazor WASM projects:
```bash
abp new Acme.BookStore -u blazor --database-provider mongodb --mobile none -csf
```

* **Client-side libraries are not loaded automatically!**, the libs folder will not be installed from ([NPM](https://www.npmjs.com/))

```bash
abp new Acme.BookStore -u blazor --dont-run-install-libs
```

## Blazor Server

Expand All @@ -116,6 +133,12 @@ The following commands are for creating Blazor projects:
```bash
abp new Acme.BookStore -u blazor --database-provider mongodb --mobile none -csf
```

* **Skip bundling for the packages**,

```bash
abp new Acme.BookStore -u blazor --dont-run-bundling
```

## No UI

Expand Down
Loading