You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the correct file path specification for the filePath argument in the getTemplate(fileName, options) method?
I have a template file at: ${PROJECT_ROOT}/views/template.handlebars.
What should filePath be?
${PROJECT_ROOT}/views/template.handlebars
views/template.handlebars
template.handlebars
template
views/template
Thanks!
The text was updated successfully, but these errors were encountered:
Actually it turns out that render(filePath, context, options) is a better method for my purposes.
But I have the same question about the filePath parameter for this method.
The path can be an absolute path or a path relative to the current working directory.
All new development of express-handlebars is done on a new repo express-handlebars/express-handlebars. Please create an issue there if this is still an issue.
What is the correct file path specification for the filePath argument in the getTemplate(fileName, options) method?
I have a template file at: ${PROJECT_ROOT}/views/template.handlebars.
What should filePath be?
Thanks!
The text was updated successfully, but these errors were encountered: