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
feat: scaffold React, Vue, Angular, and Nuxt apps from the CLI
Adds setup --framework react|vue|angular|nuxt to @zitadel/cli. Each framework
scaffolds its auth entry/pages and wires a dev proxy forwarding /__nextgen to the
backend with an sk_<project_id> bearer: a Vite config merge for React/Vue, a
proxy.conf.cjs wired into angular.json for Angular, and the @zitadel/sdk-nuxt
module for Nuxt. Adds a --dev-port flag and the supporting detectors,
scaffolders, and patchers.
Add `setup --framework react|vue|angular|nuxt` support to the CLI. Each framework scaffolds its auth entry/pages and wires `/__nextgen/*` calls to the backend with a `sk_<project_id>` bearer attached: React and Vue get a dev proxy magicast-merged into the Vite config (`vite.config.*`) that reads the project id from `ZITADEL_PROJECT_ID`; Angular gets a `proxy.conf.cjs` wired into `angular.json` that reads it from `zitadel.json`; and Nuxt registers the `@zitadel/sdk-nuxt` module in the Nuxt config (`nuxt.config.*`), which adds the proxy via server middleware. A `--dev-port` flag sets the scaffolded dev-server port.
framework: Flags.string({description: "Framework to target.",options: FRAMEWORK_OPTIONS}),
55
58
renderer: Flags.string({
56
59
description: "Renderer (default: react).",
57
60
options: [...RENDERER_IDS],
58
61
}),
62
+
"dev-port": Flags.integer({
63
+
description:
64
+
"Dev-server port; also the issuer origin registered with Zitadel. Defaults to the detected port. Use distinct ports to run several scaffolded apps side by side.",
65
+
}),
59
66
"skip-install": Flags.boolean({
60
67
description: "Do not install dependencies after setup updates package.json.",
0 commit comments