<filename>node_modules/.cache/babel-loader/41e0b35a7d34cb48898529f87de45235.json<gh_stars>0
{"remainingRequest":"/Users/alone/VueProjects/one-piece-vue/node_modules/babel-loader/lib/index.js!/Users/alone/VueProjects/one-piece-vue/node_modules/eslint-loader/index.js??ref--13-0!/Users/alone/VueProjects/one-piece-vue/src/store/i18n-mixin.js","dependencies":[{"path":"/Users/alone/VueProjects/one-piece-vue/src/store/i18n-mixin.js","mtime":1589979841598},{"path":"/Users/alone/VueProjects/one-piece-vue/node_modules/cache-loader/dist/cjs.js","mtime":1595422850119},{"path":"/Users/alone/VueProjects/one-piece-vue/node_modules/babel-loader/lib/index.js","mtime":1595422850086},{"path":"/Users/alone/VueProjects/one-piece-vue/node_modules/eslint-loader/index.js","mtime":1595422972371}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IF9vYmplY3RTcHJlYWQgZnJvbSAiL1VzZXJzL2Fsb25lL1Z1ZVByb2plY3RzL29uZS1waWVjZS12dWUvbm9kZV9tb2R1bGVzL0BiYWJlbC9ydW50aW<KEY>ZX<KEY>ICBjdXJyZW50TGFuZzogZnVuY3Rpb24gY3VycmVudExhbmcoc3RhdG<KEY>},{"version":3,"sources":["/Users/alone/VueProjects/one-piece-vue/src/store/i18n-mixin.js"],"names":["mapState","i18nMixin","computed","currentLang","state","app","lang","methods","setLang","$store","dispatch"],"mappings":";AAAA,SAASA,QAAT,QAAyB,MAAzB;AAEA,IAAMC,SAAS,GAAG;AAChBC,EAAAA,QAAQ,oBACHF,QAAQ,CAAC;AACVG,IAAAA,WAAW,EAAE,qBAAAC,KAAK;AAAA,aAAIA,KAAK,CAACC,GAAN,CAAUC,IAAd;AAAA;AADR,GAAD,CADL,CADQ;AAMhBC,EAAAA,OAAO,EAAE;AACPC,IAAAA,OADO,mBACEF,IADF,EACQ;AACb,WAAKG,MAAL,CAAYC,QAAZ,CAAqB,SAArB,EAAgCJ,IAAhC;AACD;AAHM;AANO,CAAlB;AAaA,eAAeL,SAAf","sourcesContent":["import { mapState } from 'vuex'\n\nconst i18nMixin = {\n  computed: {\n    ...mapState({\n      currentLang: state => state.app.lang\n    })\n  },\n  methods: {\n    setLang (lang) {\n      this.$store.dispatch('setLang', lang)\n    }\n  }\n}\n\nexport default i18nMixin\n"]}]}