Replies: 1 comment
-
Okey, found the solution for those who are interested: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys,
I am building a site builder (https://notionfol.io) and used vercel platforms as a starter.
I changed the architecture to become /[domain]/[template], see image below
So my question is anyone have an idea how can i make a preview for the site while customizing it in /app.
My thoughts:
I wanted to make a scalable solution as i can i have 100 templates in the future and re exporting all the components and rendering them in preview will not be a good solution as i will loose the folder based routing and will have to handle that by myself, i also thought about making an iframe (and maybe pass the json for template as query params or smthng like that)
Illustration (i want to make a preview in the right side)
Any thoughts? thanks 😳
Beta Was this translation helpful? Give feedback.
All reactions