I want to read all .hbs files and render them #548
vanhoutenbos
started this conversation in
General
Replies: 1 comment 3 replies
I don't think that's right. Handlebars doesn't have any notion of files or folders. If you check out the handlebars documentation you won't see any reference to views or folders. There are frameworks and view engines that use handlebars as their templating language - the experience you're describing, you must have been using one of those. There are some equivalent view engines out there for c# that use this library as their core engine. Without knowing more about your application architecture or requirements, I can't recommend a specific one, but hopefully that gets you started. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am a bit confused, normally in handlebars (using javascript etc.) I can just let the views be rendered based on the standard folder structure.
Here it seems like I need to copy & paste all HTML to the C# code which seems a bit much so I must be missing something!
I am wondering how I can read all source and templates from the image below and render them as HTML
All reactions