node path.resolve和path.join用法和区别(路径拼接写法大全) 一、path模块的引入。直接引用。node中自带的模块const path = require('path');二、path.join(path1,pat... 前端这点事 2021-11-02 787 #Node
模块引用exports与module.exports的区别有哪些 用一句话来说明就是,require方能看到的只有module.exports这个对象,它是看不到exports对象的,而我们在编写模块时用到的exports对象实际上只是对module.exports... 前端这点事 2021-09-01 661 #Node #模块化