📜  查看引擎 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:56.842000             🧑  作者: Mango

代码示例1
const ejs = require("ejs");
const port = process.env.port || 3000;

const app = express();

app.use(express.static("public"));

app.set("view engine",'ejs');