Merge branch 'main' of https://github.com/garronej/keycloakify-advanced-starter
This commit is contained in:
commit
38a781868d
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue