Has anyone had this issue with handlebars & meteor?
Uncaught TypeError: Handlebars.compile is not a function
I know it’s been deprecated but it’s compulsory for my project,
I have added the handlebars package, so not too sure where I’m going wrong.
Any assistance would be greatly appreciated.
Thanks,
The Handlebars back-compatibility object does not include the compile method. However, you may be able to use SpacebarsCompiler.compile().
You’ll need to meteor add spacebars-compiler to your project (and import { SpacebarsCompiler } from 'meteor/spacebars-compiler'; to your code if you’re using imports).