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/create-app.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,12 +42,15 @@ You can run `pnpm create @dhis2/app@alpha --help` for the list of options availa
42
42
template) [boolean] [default: false]
43
43
--typescript, --ts, --typeScript Use TypeScript or JS [boolean]
44
44
--template Which template to use (Basic, With
45
-
React Router, or GitHub
46
-
template specifier) [string]
45
+
React Router, community template
46
+
source, or GitHub template
47
+
specifier) [string]
47
48
--packageManager, --package, Package Manager
48
49
--packagemanager [string]
49
50
```
50
51
52
+
In interactive mode, template selection includes built-in templates, configured community templates, and a `Custom template from Git` option. For non-interactive usage, `--template` accepts built-in values (`basic`, `react-router`), configured community template sources, and direct GitHub specifiers.
return`Unknown template "${templateSource}". Available templates: ${formattedTemplateList}. Or use a GitHub template specifier like "owner/repo#ref" or "https://github.com/owner/repo#ref".`
0 commit comments