Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

@salesforce/b2c-tooling-sdk / scaffold / renderPathTemplate

Function: renderPathTemplate()

renderPathTemplate(pathTemplate, context): string

Defined in: packages/b2c-tooling-sdk/src/scaffold/engine.ts:99

Render a file path template (using double-brace variable syntax)

Parameters

pathTemplate

string

The path template string with double-brace placeholders

context

TemplateContext

Template context with variables and helpers

Returns

string

Rendered path string

Released under the Apache-2.0 License.