eleventy icon indicating copy to clipboard operation
eleventy copied to clipboard

Use Handlebars partials from other package

Open BregtDeLange opened this issue 4 years ago • 0 comments

I have some private npm package that contains Handlebars partials, which I want to directly use these partials in my Eleventy website, and had hoped that I could reference them from the installed package into a page. But since they're not part of the "includes" folder, it's impossible for Handlebars (on the documentation I see relative paths are possible for other template engines, or is this a different something).

I'm a bit lost on how to tackle this. Any idea how I could solve this, without the need for a copy script? There's no array for the "includes" option on the eleventyConfig.

BregtDeLange avatar May 13 '20 18:05 BregtDeLange