我创建了两个modules.export函数,在某些情况下它们彼此需要。例如:modules.exports = function(){ b(); }
modules.exports = function(){ console.log('b'); }
let a = require('a.js');
let b = require('b.
所以我有一个简单的js文件,它包含了一些类似函数的东西,其中一个函数从1.localStorage获得一个值,如果不存在,2. vuex,如果不存在,使用默认值。helper.js let value if(checkforlocalstorage){/plugins/helpers.js'
export d