-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Is your feature request related to a problem? Please describe.
I'm working on a monorepo with several apps, and having a dedicated adapter to a specific framework is not flexible enough for me.
Describe the solution you'd like
Right now, I'm using (mainly) nextJS with the new prismic adapter. I migrated all of the methods using "prismicio/next" from my CMS package I created in order to be as agnostic as possible.
I'm still using two remaining methods from this package that I would like to get rid of (to stick to nodeJS / React but not to nextJS):
redirectToPreviewURLPrismicPreview
Also, when I create a new slice because of the next adapter, I get an index file using 'next/dynamic'. I would like to be able to stick to a classical export components file without any relationship with nextJS as well.
Obviously I would like to keep the same features (previews etc.).
Do you have any idea on how to achieve this?
Thanks!