diff options
| author | 2022-09-27 21:48:27 +0200 | |
|---|---|---|
| committer | 2022-09-27 21:48:27 +0200 | |
| commit | 38a781868d71bf169e558b1d4fb0e360f74ad09c (patch) | |
| tree | d08d5f70249c5167962603717b25233c96b8ab87 | |
| parent | Bump version (diff) | |
| parent | #1 (diff) | |
Merge branch 'main' of https://github.com/garronej/keycloakify-advanced-starter
| -rw-r--r-- | README.md | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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( |