摘要: path模块是node.js中处理路径的核心模块。可以很方便的处理关于文件路径的问题。 const path = require('path') // 拼接路径 function resolve(dir) { return path.join(__dirname, dir) } module.exp 阅读全文
posted @ 2020-04-01 12:39 ladybug7 阅读(2466) 评论(0) 推荐(0) 编辑