Debian Codegraph @

www/src/content/reference/04-config/04-htmx-config-extensions.md

raw symbols SCIP
1 ---
2 title: "htmx.config.extensions"
3 description: "Comma-separated list of extensions to load"
4 ---
5
6 The `htmx.config.extensions` option accepts a comma-separated list of htmx extensions to automatically load.
7
8 **Default:** `""`
9
10 ## Example
11
12 ```javascript
13 htmx.config.extensions = "preload,morph";
14 ```
15
16 ```html
17 <meta name="htmx-config" content='{"extensions":"preload,morph"}'>
18 ```
19
20 Extensions must be available in the page for this to work.