quarkiverse / quarkus-web-bundler

Create full-stack web apps quickly and easily with this Quarkus extension. It offers zero-configuration bundling for your web app scripts (JS, JSX, TS, TSX), dependencies (jQuery, React, htmx, etc.), and styles (CSS, SCSS, SASS).
https://docs.quarkiverse.io/quarkus-web-bundler/dev/index.html
Apache License 2.0
19 stars 10 forks source link

Allow to format html templates at buildtime and make them static (out of the box) #130

Closed ia3andy closed 10 months ago

ia3andy commented 10 months ago

If a html template (e.g. index.html or page1.html) is in the web directory root, it will be formatted using Qute at build-time (Runtime Qute data and namespaces won't be available), {#bundle } will be available. It will be generated as a static file for runtime and served at the root-path.

ia3andy commented 10 months ago

cc @mkouba @FroMage @maxandersen @phillip-kruger

phillip-kruger commented 10 months ago

We can probably make some other things from build available in the context of the template, like application name and version ?

ia3andy commented 10 months ago

Yes we need to decide on what could be provided