Skip to content

app > client

Path: metadata > app > client.

General definitions for the front-end client.

scriptList

string[]

JS files to include on the HTML page. Use __APPEND__ to append custom values w/o removing existing.

Example:

{
    "scriptList": [
        "__APPEND__",
        "client/custom/modules/my-module/my-script.js"
    ]
}

developerModeScriptList

string[]

JS files to include on the HTML page in the developer mode. Use __APPEND__ to append custom values w/o removing existing.

Object[]

Example:

{
    "linkList": [
        "__APPEND__",
        {
            "href": "client/custom/fonts/custom-font.woff2",
            "as": "font",
            "type": "font/woff2",
            "rel": "preload",
            "noTimestamp": true,
            "crossorigin": true
        }
    ]
}

Link tags to include on the HTML page. Use __APPEND__ to append custom values w/o removing existing.

cssList

string[]

CSS files to include on the HTML page. Use __APPEND__ to append custom values w/o removing existing.

Example:

{
    "cssList": [
        "__APPEND__",
        "path/to/your/file.css"
    ]
}

favicon

string

A favicon image. SVG or PNG The default value: client/img/favicon.svg.

faviconAlternate

string

An alternate 16px ICO favicon image. The default value: client/img/favicon.ico.