Creating Product Components
Learn to create components in Ember.
We'll cover the following...
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. ...