App development for Shopify with Remix (Route problem)

208 Views Asked by At

I create a Shopify App with the remix app template (https://github.com/Shopify/shopify-app-template-remix).

If i fetch the api "/api.new.jsx" everything work with the following structure: First structure

If i change the structure to: second structure

Now i get 404 not found back from my fetch call. How can i use folders for my api?

I checked the remix documentation.

0

There are 0 best solutions below