Can we reference the included Handlebars library on the client?


I’d like to use things like “Handlebars.compile” on the client-side without re-including Handlebars in my package.json. Is there a way to “surface” the already included Handlebars library?


The dependencies / libraries that power ghost are not available on the client side; if you want to use one you need to include it via the <script> tag (if applicable), or as part of your frontend bundle


Makes sense but then how can I implement all the helpers Ghost has implemented? My usecase is that I’d like to make use of the handlebars templates but on the client side.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.