nb portal dev

Khởi động chế độ phát triển cho workspace Portal đã chỉ định

Cách dùng

nb portal dev <portal> [flags]

Tham số

Tham sốKiểuMô tả
<portal>stringPortal name or slug.
--env, -estringCLI env name. If omitted, the current env is used.
--yes, -ybooleanSkip cross-env confirmation.

Ví dụ

nb portal dev customer
nb portal dev customer --env dev --yes

Ghi chú

The workspace must contain package.json. The command refreshes .env and .env.local, then runs pnpm dev. ssh envs are not supported in the current version.

Lệnh liên quan