Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected FA components. Added html tag to disable eslinter mixed v-i… #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

@@ -14,7 +13,7 @@
aria-expanded="false"
>
<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.

None yet

2 participants