renderFile // 3.1. Promise data.name = 'Tom'; const templatePromise = ejs.renderFile(path.resolve(__dirname, 'template.html'), data, ...
確定! 回上一頁