How to create a ‘Sort by’ dropdown list component
- Using Angular CLI, create shop-sorting component. To create a component under a specific folder, select that folder in VSCode and right-click and select Open in Integrated Terminal. A new terminal window will appear.
ng g c componentname
- Populate shop-sorting.component.html