https://github.com/nuxt-community/modules/issues/89#issuecomment-318107891
import Vue from 'vue'
export default { store } => {
Vue.filter('translate', (item, attribute) => {
return item[attribute][store.state.foo]
})
}
Is multiple export possible or one plugin file has one default export?
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
https://github.com/nuxt-community/modules/issues/89#issuecomment-318107891