Replies: 2 comments
-
|
Jaspr does not use a Svelte or Angular-like HTML template syntax. You can use Document.template() constructor to load an external .template.html file, then you can define your document markup in a separate file instead of writing it entirely in Dart. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
In addition to what @Hamdan-B answered, there is also jaspr_content which can render html files with template substitution into web pages, similar to e.g. astro or vitepress. |
Beta Was this translation helpful? Give feedback.
0 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.
-
I see that Jaspr support wrappers for html elements, but does it support working with real html like in Angular or Svelte ??
I want to writre template and add variable substitution for html generation, cannot find such possibility currently in Jaspr ...
Beta Was this translation helpful? Give feedback.
All reactions