Answers for "view engine"

-1

view engine

const ejs = require("ejs");
const port = process.env.port || 3000;

const app = express();

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

app.set("view engine",'ejs');
Posted by: Guest on June-24-2020

Browse Popular Code Answers by Language