The goal for this episode would be to create a single product page for our products, so that when the user clicks on a product in our Next.js app it would take him to the product display page. To get the correct page, I'm going to show you how to filter products by slug from our Directus API.
Also we are going to refactor our query methods a bit, so that we end up with only one method for all of our queries, which will make our code look much nicer and more performant.
Like This Video?
Consider supporting me on Patreon.
...or you can share this video, that also helps ;)