You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to use shiny.router with separate ui and server files? I could not figure out how you would get the scoping right on that. Defining the router object in UI would make it not accessible in server and global.R did not seem to help that either.
The text was updated successfully, but these errors were encountered:
Yes, in general that is possible! Here is an older example that follows a little bit your idea, if I got it right. The example has multiple uis in the uis folder, a common router object in routes.R. Please note that the example code referenced above is quite outdated and would need some dev love, but the idea should work nevertheless.
Is it possible to use shiny.router with separate ui and server files? I could not figure out how you would get the scoping right on that. Defining the router object in UI would make it not accessible in server and global.R did not seem to help that either.
The text was updated successfully, but these errors were encountered: