commerce icon indicating copy to clipboard operation
commerce copied to clipboard

Combine with pages router?

Open MrUltimate opened this issue 5 months ago • 0 comments

Hi,

I'm using Next 14 for an e-commerce site I'm building for a client. I've used this repository as a basis for what I've built so far. Unfortunately, the client wants page transitions in the site, for which I'm using framer-motion for. framer-motion is currently broken with the app router and therefore I've elected to use the page router instead.

As I understand it, both the app and pages routers can be used in conjunction. I'm trying to understand what's the best way to do so with this implementation. The v1 branch of this repository seems to be outdated and much different approach then what this repository does, as far as I understand.

In an idea world, I can still use my currently built pages that use the page router and then pull in Shopify data from the app router. Any help or advice would be greatly appreciated.

MrUltimate avatar Jan 26 '24 03:01 MrUltimate