Skip to content

Conversation

Kerrys7777
Copy link

Navbar.vue
Line 5 deleted unused font awesome icon (dollar sign).
Line 16 replaced font awesome <i> tag with component (cart icon).

ProductList.vue
Added HTML comment tag to disable selective eslint rules. Was preventing compilation.

>
<span class="badge badge-pill badge-light">{{cartQty}}</span>
<i class="fas fa-shopping-cart mx-2"></i>
<font-awesome-icon icon="shopping-cart" class="mx-2"></font-awesome-icon>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Nothing wrong with this, but could be written as <font-awesome-icon icon="shopping-cart" class="mx-2" /> I guess. Personal preference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants