Hi,
Does Template7 helpers work in Svelte?
I cant seem to get it working.
I have added my helper code to the app.js
Template7.registerHelper('callHelper', function(name) {
return `Hello ${name}!`;
});
I have referenced the function in template7-helpers-list.js which is in the root src folder
module.exports = ['callHelper'];
When I try the use CallHelper in my component :
{callHelper 'world'}
It throws in error :
Error: ParseError: Expected } (38:16)
38: {callHelper 'world'}
Do I have to import the template7-helper-list module into my component?