Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Handlebars partials from other package #6

Open
BregtDeLange opened this issue May 13, 2020 · 0 comments
Open

Use Handlebars partials from other package #6

BregtDeLange opened this issue May 13, 2020 · 0 comments

Comments

@BregtDeLange
Copy link

BregtDeLange commented May 13, 2020

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.

@zachleat zachleat transferred this issue from 11ty/eleventy Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants