Enable deployment
Edge component deployments use the existing DXP deploy
command, with one notable difference: deployments to edge need to be enabled in the DXP CLI using the FEATURE_EDGE_COMPONENTS=true
feature flag.
FEATURE_EDGE_COMPONENTS=true dxp-next cmp deploy ./components/my-component
The CLI will prompt the user to set this environment variable before deploying an Edge component.
The We recommend developers use the ignore function in tools like Git to exclude this directory and avoid committing these bundles to your source repository. |