Guest User

Untitled

a guest
Jan 23rd, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. import Vue from 'vue'
  2. import App from '@/App.vue'
  3. import { library } from '@fortawesome/fontawesome-svg-core'
  4. import { fas } from '@fortawesome/free-solid-svg-icons'
  5. import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
  6. import FilmLoading from '@/components/global/filmLoading.vue'
  7. import FilmModal from '@/components/global/filmModal.vue'
  8. import EventBus from '@/plugin/eventBus'
  9.  
  10. /*
  11. * Importar componente de forma global
  12. * Vue.component(tag-html, componente)
  13. */
  14.  
  15. Vue.component('film-loading', FilmLoading)
  16. Vue.component('film-modal', FilmModal)
  17.  
  18. /*
  19. * Vue.use nos sirve para usar plugins, librerias externas, etc...
  20. */
  21. Vue.use(EventBus)
  22.  
  23. library.add(fas)
  24. Vue.component('font-awesome-icon', FontAwesomeIcon)
  25.  
  26. new Vue({
  27. el: '#app',
  28. render: h => h(App)
  29. })
Add Comment
Please, Sign In to add comment