Component templates for the epilot CLI.
These templates are used automatically by the epilot CLI:
epilot app init my-app
cd my-app
epilot app add-component my-tab --type CUSTOM_CAPABILITY| Template | Description | Stack |
|---|---|---|
custom-capability |
Entity tab or group | React + Vite + Tailwind + Volt UI + App Bridge |
custom-journey-block |
Journey builder block | React + Vite + r2wc (Web Component) |
custom-page |
Custom navigation page | React + Vite + Tailwind + Volt UI + App Bridge |
custom-portal-block |
Portal widget | React + Vite + Tailwind + Volt UI + App Bridge |
custom-flow-action-sandbox |
Sandboxed flow action | TypeScript (runs in epilot sandbox) |
| Template | Description |
|---|---|
custom-flow-action-external |
External integration webhook |
portal-extension |
Portal extension hooks |
external-product-catalog |
External product catalog hooks |
Templates use {{name}} as a placeholder that gets replaced by the CLI with the component name.
- Create or edit a template directory
- Use
{{name}}for the component name placeholder - Make sure the template works standalone:
cd template && npm install && npm run build