Application recipes APPLICATION RECIPE

Router setup

A real multi-file router starter with pages and a working iframe preview.

SOURCE INCLUDEDBrowse library
Component studio/ router-setup
PREVIEW SOURCE
PreviewROUTER EXAMPLE

Try the component here. Changes stay in your browser.

YOUR NEXT STEP

Make it yours.

Everything you see above is real Zidom code. Choose a source file, copy it, and adapt it in your project.

Application-level recipe: copy all three TSX files and mount your router in the app entry point. A router guard is a client-side UI check, not backend authorization. See routing docs for guards and loaders.