Open
Description
This concern nuxt.js, the server is complaining about "document is not defined" if we register the Icon component in a plugin as a global component.
the reason that I identify is that the distribution now ship a "precompiled" Icon.js
file instead of Icon.vue
file and the Icon.js file has referenced to document.
Is it possible to ship both files ? So with nuxt.js we can, use it like that in a plugin :
import Vue from 'vue'
import Icon from 'vue-awesome/components/Icon.vue'
Vue.component('FaIcon', Icon)
Activity