Setting up the category Route
Learn to set up the category route for our e-commerce application.
We'll cover the following
Let’s design the category
route to render all the products by category using the category.hbs
template. To display the products, we import the products in the app/routes/category.js
file. Then, we add the return statement for the products in the model:
Get hands-on with 1400+ tech skills courses.