Shared app-wide UI asset bundles.
Keep CSS/JS asset ordering centralized here so modules can reuse the same rendering contract without hardcoding per-page lists.
Shared app-wide UI asset bundles. Keep CSS/JS asset ordering centralized here so modules can reuse the same rendering contract without hardcoding per-page lists.
The admin's one stylesheet, built from resources/tailwind/admin.css
(npm run build:css).
The admin's one stylesheet, built from resources/tailwind/admin.css (`npm run build:css`).
Admin pilot JavaScript stack. components.js and admin-ux.js must load before alpine.min.js because they register Alpine components/stores via the alpine:init event.
Admin pilot JavaScript stack. components.js and admin-ux.js must load before alpine.min.js because they register Alpine components/stores via the alpine:init event.
(bundle k)Return stylesheet list for k bundle key.
An unknown key, :base included, warns once and gets :pilot.
Return stylesheet list for `k` bundle key. An unknown key, `:base` included, warns once and gets `:pilot`.
Registry of known stylesheet bundles.
Registry of known stylesheet bundles.
(js-bundle k)Return JavaScript list for k bundle key.
An unknown key warns once and gets :pilot.
Return JavaScript list for `k` bundle key. An unknown key warns once and gets `:pilot`.
Registry of known JavaScript bundles.
Registry of known JavaScript bundles.
The default stack: daisyUI/Tailwind on wagoe-tokens.
The default stack: daisyUI/Tailwind on wagoe-tokens.
The default JavaScript stack. components.js must load before alpine.min.js to register shared Alpine components.
forms.js is here rather than in the admin bundle because it makes htmx swap the re-rendered form a 400 carries, and every htmx form needs that — not just the ones under /web/admin. It shipped admin-only, so the create-user form at /web/users/new discarded its own validation errors and pressing Create looked like it did nothing (BOU-381).
The default JavaScript stack. components.js must load before alpine.min.js to register shared Alpine components. forms.js is here rather than in the admin bundle because it makes htmx swap the re-rendered form a 400 carries, and every htmx form needs that — not just the ones under /web/admin. It shipped admin-only, so the create-user form at /web/users/new discarded its own validation errors and pressing Create looked like it did nothing (BOU-381).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |