Skip to content

templatePath beta ​

Function of @v12-engine/editor

ts
export declare function templatePath(name: string): string;

Where a template is kept among the game's files (templates/<name>.vgmap.json). Throws for a name that is not letters, numbers and dashes