To enable to test your theme locally, in storybook or with yarn start Keycloakify copies the default theme resources, primarly constituted of Paternlyfly, the CSS framwork used for the default theme.

This option allows you to customize what's the public directory in your case. By default it's public/ but in angular for example it's src/assets/.

    "keycloakify": {
        "publicDirPath": "./public"

Default: ~/public

You can also use the PUBLIC_DIR_PATH environnement variable. Example:

npx PUBLIC_DIR_PATH=./src/assets keycloakify copy-keycloak-resources-to-public

Last updated