This commit is contained in:
garronej 2022-09-27 21:48:27 +02:00
commit 38a781868d

View file

@ -10,7 +10,7 @@ A starter/demo project for [Keycloakify](https://keycloakify.dev)
> heads over to [keycloakify-starter](https://github.com/garronej/keycloakify-starter).
> If you are only looking to create a theme and don't care about integrating it into a preexisting React app there
> are a lot of things that you can remove from this starter. [Please read this](/standalone-keycloak-theme).
> are a lot of things that you can remove from this starter. [Please read this](https://github.com/garronej/keycloakify-advanced-starter#standalone-keycloak-theme).
# Quick start
@ -92,10 +92,9 @@ mv src/KcApp/* src/
cat << EOF > src/index.tsx
import { createRoot } from "react-dom/client";
import { StrictMode, lazy, Suspense } from "react";
import { kcContext } from "./KcApp/kcContext";
const KcApp = lazy(() => import("./KcApp"));
import { StrictMode } from "react";
import { kcContext } from "./kcContext";
import KcApp from "KcApp";
if( kcContext === undefined ){
throw new Error(