bol/module/system/templates.js

15 lines
365 B
JavaScript
Raw Normal View History

2021-07-08 10:12:12 +02:00
/**
* Define a set of template paths to pre-load
* Pre-loaded templates are compiled and cached for fast access when rendering
* @return {Promise}
*/
export const preloadHandlebarsTemplates = async function () {
// Define template paths to load
const templatePaths = [
];
// Load the template parts
return loadTemplates(templatePaths);
};