You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/commands.md
+42-4Lines changed: 42 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,9 @@ lt server create [name] [options]
72
72
|--------|-------------|
73
73
|`--description <text>`| Project description |
74
74
|`--author <name>`| Author name |
75
+
|`--branch <branch>` / `-b`| Branch of nest-server-starter to use as template |
76
+
|`--copy <path>` / `-c`| Copy from local template directory instead of cloning |
77
+
|`--link <path>`| Symlink to local template directory (fastest, changes affect original) |
75
78
|`--git`| Initialize git repository |
76
79
|`--noConfirm`| Skip confirmation prompts |
77
80
@@ -426,10 +429,18 @@ lt fullstack init [options]
426
429
|--------|-------------|
427
430
|`--name <name>`| Project name |
428
431
|`--frontend <type>`| Frontend framework: `angular` or `nuxt`|
432
+
|`--api-branch <branch>`| Branch of nest-server-starter to use for API |
433
+
|`--api-copy <path>`| Copy API from local template directory |
434
+
|`--api-link <path>`| Symlink API to local template (fastest, changes affect original) |
435
+
|`--frontend-branch <branch>`| Branch of frontend starter to use (ng-base-starter or nuxt-base-starter) |
436
+
|`--frontend-copy <path>`| Copy frontend from local template directory |
437
+
|`--frontend-link <path>`| Symlink frontend to local template (fastest, changes affect original) |
429
438
|`--git`| Initialize git repository |
430
439
|`--git-link <url>`| Git repository URL |
431
440
|`--noConfirm`| Skip confirmation prompts |
432
441
442
+
**Note:** For Nuxt frontends with `--frontend-copy` or `--frontend-link`, specify the path to the `nuxt-base-template/` subdirectory, not the repository root.
lt frontend angular --link /path/to/local/ng-base-starter # Fastest, changes affect original
468
+
```
469
+
470
+
---
471
+
472
+
#### `lt frontend nuxt`
473
+
474
+
Creates a new Nuxt frontend project using nuxt-base-starter.
475
+
476
+
| Field | Type | Default | Description |
477
+
|-------|------|---------|-------------|
478
+
| `commands.frontend.nuxt.branch` | `string` | - | Branch of nuxt-base-starter to use. When specified, uses git clone instead of create-nuxt-base |
479
+
| `commands.frontend.nuxt.copy` | `string` | - | Path to the `nuxt-base-template/` subdirectory to copy |
480
+
| `commands.frontend.nuxt.link` | `string` | - | Path to the `nuxt-base-template/` subdirectory to symlink (fastest, changes affect original) |
481
+
482
+
**Note:** For `copy` and `link`, specify the path to the `nuxt-base-template/` subdirectory within the nuxt-base-starter repository, not the repository root.
0 commit comments