摘要:        
使用 module.exports 来导出模块(导出的只能是对象或函数) module.exports = { abc: abc, fn: fn } 导入自己定义的js文件,必须加 ./ // 导入模块(基本上和之前加载模块一样) const bbb = require('./bbb.js'); /    阅读全文
posted @ 2020-04-27 23:02
star-meteor
阅读(196)
评论(0)
推荐(0)
        
            
        
        
摘要:        
proxyTable: { '/api': { target: 'http://baidu.com', pathRewrite: { '^/api': '' }    阅读全文
posted @ 2020-04-27 13:28
star-meteor
阅读(116)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号