3๐
โ
I have tested locally and found that there no such error happens. You dont need to add it to transpile.
And you are import vue gallery wrong. Vue.use is for vue plugins, while VueGallery is just a component, not a plugin. So your code should be like this:
import Vue from 'vue'
import VueGallery from 'vue-gallery'
Vue.component('vue-gallery', VueGallery)
And as you can see you dont need check for browser, because you already set ssr: false for this plugin in nuxt config.
๐คAldarund
Source:stackexchange.com