0.2.3 • Published 4 years ago
@bldr/vue-plugin-media v0.2.3
@bldr/vue-plugin-media
Resolve media files. Counter part of the BALDR media server.
import media from '@bldr/vue-plugin-media'
Vue.use(media, router, store)
On every Vue instance:
this.$media.resolve('id:Haydn')
const mediaFile = this.$store.getters['media/mediaFileByUri']('id:Haydn')