This commit is contained in:
Joseph Garrone committed 2024-06-09 15:00:18 +02:00
1 parent af7733b3dc
commit 34971c67de
9 files changed
+17 -25

No files matched your search

+1 -1
View File
@@ -12,6 +12,6 @@ const config: StorybookConfig = {
name: "@storybook/react-vite", name: "@storybook/react-vite",
options: {} options: {}
}, },
staticDirs: ["../public"], staticDirs: ["../public"]
}; };
export default config; export default config;
+3 -3
View File
@@ -18,7 +18,7 @@ yarn build-keycloak-theme
# Storybook # Storybook
Spin up a test environment for your Keycloak pages. Spin up a test environment for your Keycloak pages.
```bash ```bash
npx keycloakify add-story # Select the pages you want to add stories for npx keycloakify add-story # Select the pages you want to add stories for
@@ -28,7 +28,7 @@ yarn storybook # Start Storybook
# Test in a real Keycloak environment # Test in a real Keycloak environment
Test your theme in a local Keycloak docker container. Test your theme in a local Keycloak docker container.
You need to have Docker running. Install [Docker Desktop](https://www.docker.com/products/docker-desktop/) if you don't have it. You need to have Docker running. Install [Docker Desktop](https://www.docker.com/products/docker-desktop/) if you don't have it.
```bash ```bash
npx keycloakify start-keycloak npx keycloakify start-keycloak
@@ -85,7 +85,7 @@ You'll need to apply theses changes to the `src/main.tsx` file:
</Suspense> </Suspense>
</StrictMode> </StrictMode>
); );
declare global { declare global {
interface Window { interface Window {
kcContext?: kcContext?:
+1 -1
View File
@@ -48,4 +48,4 @@
"resolutions": { "resolutions": {
"jackspeak": "2.1.1" "jackspeak": "2.1.1"
} }
} }
Loaded 3 of 9 files, more files were not shown because too many files have changed in this diff. Show more