This is a proof of concept for generating an html file from a handlebars template.
The template files can be found in the /src folder. This contains several *.handlebars files:
- The primary
index.handlebarstemplate - Three reference templates in the
/src/partialsfolder:dots.handlebarsgt.handlebarsworker.handlebars.
To generate a .html sheet from these templates, perform the following steps:
- Install Node.js with npm (choose the "LTS" version)
- Open a command prompt scoped to the /handlebars-poc folder
- Run command
npm installin the command prompt. - Run command
npm run generatein the command prompt.
Expected result: simple-sheet.html is generated in this folder.
(Steps 1 through 3 only have to be done once. Step 4 can be repeated after modifying the .handlebars template files.)