L'utilisation est simple: var appRoot = require('app-root-path'); var myModule = require(appRoot + '/lib/my-module.js');.
確定! 回上一頁