Class IsolatedSpaExample
java.lang.Object
com.kingsrook.qqq.middleware.javalin.examples.IsolatedSpaExample
Example showing how to configure multiple SPAs using IsolatedSpaRouteProvider
This example demonstrates:
1. Root SPA at "/" with exclusions for other SPAs and APIs
2. Admin SPA at "/admin" with authentication
3. Customer SPA at "/customer"
4. All APIs remain functional at their original paths
Key Features:
- Each SPA handles its own 404s and deep linking
- SPAs are completely isolated from each other
- API endpoints continue to work normally
- Support for authentication per SPA
- Support for custom before/after handlers per SPA
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classExample Admin Authenticatorstatic classExample QQQ Application -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IsolatedSpaExample
public IsolatedSpaExample()
-
-
Method Details
-
main
-