App reviews, troubleshooting, and recommendations
Hello,
As the title says I have a route prefix when I load my app: example https://my-route/prefix -> this will point to the app base URL.
The question is where can I change the path of the router in order to have a route prefix that will serve my index.js file? I am using Shopify Node React skeleton app as a base with Koa and embeding it in Shopify Admin (yes the settings for embedding are enabled).
Regards,
Robert
Solved! Go to the solution
This is an accepted solution.
Hello,
For anyone interested I found the solution. The Shopify Node React app uses .nextjs for file handling.
There is a file called next.config.js where I needed to add:
This is an accepted solution.
Hello,
For anyone interested I found the solution. The Shopify Node React app uses .nextjs for file handling.
There is a file called next.config.js where I needed to add:
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024