Skip to content

Conversation

@alexlafroscia
Copy link

I have been working on a Handlebars plugin for Vite 2 that lets you use Handlebars in any HTML file that you might have in your site. I figured it would be nice to mention it as an integration on the Handlebars docs site!

I tried to run the preview script but it didn't work on my branch -- it seems to be failing on master as well.

I did run the dev command locally, though, and the addition looks good!

@nknapp
Copy link
Contributor

nknapp commented Mar 21, 2021

Hi and thanks for your contribution. Let me think about this further, because I am not sure how to decide here.

I was adding babel, webpack, browserify and parcel here, because those are widely used compilation tools.

"vite" is a bit different. It falls more into a category with metalsmith and assemble.io (i.e. static site generators)

This sounds more like a candidate for the handlebars in the wild-list.

Maybe we can move this list from the README to this site and structure it a little, so that it is easier to grasp.

@alexlafroscia
Copy link
Author

Fine by me! Happy to add info about my Vite plugin wherever makes the most sense to you 👍

jaylinski added a commit to handlebars-lang/handlebars.js that referenced this pull request Dec 21, 2021
Also made formatting more consistent and added package
`vite`-package to list.

Resolves handlebars-lang/docs#70
jaylinski added a commit to handlebars-lang/handlebars.js that referenced this pull request Dec 21, 2021
@jaylinski
Copy link
Member

I added vite-plugin-handlebars to the in-the-wild list in this PR: handlebars-lang/handlebars.js#1801

@jaylinski jaylinski closed this Dec 21, 2021
jaylinski added a commit to handlebars-lang/handlebars.js that referenced this pull request Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants