#Routing Question

8 messages · Page 1 of 1 (latest)

analog nova
#

I have a component. One of the things it does is launch a modal using the router (so that 'back' works).
The component can appear in many places in the app.
When the modal is launched, it should sit on top of the page it was launched from, with that page visible underneath. All standard stuff.
Is there any way to set this up without needing to put a page file for the dialog in each of the places it might appear?

hushed heathBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

ember berry
analog nova
#

I think this requires me to make some kind of (..) folder wherever the component might be used?

ember berry
#

I don't have much experience working with it but let me find some resources

analog nova
#

Thanks I got there in the end