...

/

Creating Product Components

Creating Product Components

Learn to create components in Ember.

Let’s create two new product components for our e-commerce application by running the following commands:

ember g component category-product
ember g component admin-product

The commands above will generate two new components, category-product.hbs and admin-product.hbs, in app/components. Products will have a product image, title, description, and price. ...