Created
May 15, 2020 13:36
-
-
Save Krutie/d95850940e5492c7887afd98e7e30856 to your computer and use it in GitHub Desktop.
Vue Awesome as a Nuxt Plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from "vue"; | |
// only import the icons you use to reduce bundle size | |
import "vue-awesome/icons/regular/play-circle"; | |
import "vue-awesome/icons/map-marker"; | |
import "vue-awesome/icons/phone"; | |
import "vue-awesome/icons/bars"; | |
import "vue-awesome/icons/times"; | |
import "vue-awesome/icons/chevron-up"; | |
import "vue-awesome/icons/chevron-down"; | |
import "vue-awesome/icons/chevron-left"; | |
import "vue-awesome/icons/chevron-right"; | |
import "vue-awesome/icons/regular/arrow-alt-circle-up"; | |
/* Register component globally */ | |
import Icon from "vue-awesome/components/Icon"; | |
Vue.component("v-icon", Icon); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment