keycloakVersionTargets

Last updated
Was this helpful?

Last updated
Was this helpful?
Was this helpful?
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { keycloakify } from "keycloakify/vite-plugin";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), keycloakify({
// ...
keycloakVersionTargets: {
// It depends of your configuration
// Watch the video to learn more
}
})]
});{
"keycloakify": {
// ...
"keycloakVersionTargets": {
// It depends of your configuration, if you are implementing
// an Multi-Page account theme or not and of the version
// of keycloakify you are using.
// Since TypeScript can't help you here the best option
// to know what ranges are available is to clone the vite
// starter, pin your Keycloakify specific version and
// set the account implementation that you have in your project.
// Watch the video to learn more.
// The vite starter: https://github.com/keycloakify/keycloakify-starter
}
}