Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Vue from 'vue'
- import App from '@/App.vue'
- import { library } from '@fortawesome/fontawesome-svg-core'
- import { fas } from '@fortawesome/free-solid-svg-icons'
- import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
- import FilmLoading from '@/components/global/filmLoading.vue'
- import FilmModal from '@/components/global/filmModal.vue'
- import EventBus from '@/plugin/eventBus'
- /*
- * Importar componente de forma global
- * Vue.component(tag-html, componente)
- */
- Vue.component('film-loading', FilmLoading)
- Vue.component('film-modal', FilmModal)
- /*
- * Vue.use nos sirve para usar plugins, librerias externas, etc...
- */
- Vue.use(EventBus)
- library.add(fas)
- Vue.component('font-awesome-icon', FontAwesomeIcon)
- new Vue({
- el: '#app',
- render: h => h(App)
- })
Add Comment
Please, Sign In to add comment