๐ฉKeycloakify in my App
A Keycloakify theme do not need to be a standalone project. If you are building an SPA React application that you bundle with Webpack, which is the case when you use create-react-app, you can install Keycloakify right into your project and build your login pages alongside the other pages of your app.
Once you think you are ready to move on:
yarn add keycloakifyadd the following script
{
"scripts": {
...
"build-keycloak-theme": "yarn build && keycloakify"
}
}Git ignore the keycloak build directory:
...
/build_keycloakThat's it. You can build your App as a Keycloak theme with yarn build-keycloak-theme
``You might now want to have a look at the available build options:
Last updated
Was this helpful?