【发布时间】:2020-04-22 19:31:33
【问题描述】:
header.ejs 文件包含:
<html>
<head>
<title>
Random Ejs testing
</title>
<link rel="stylesheet" href="/app.css">
</head>
<body>
页脚文件包含:
<p> Made By Shashank Singh </p>
</body>
</html>
我正在尝试将这些模板包含在我的哺乳动物.ejs 文件中,但出现错误: 哺乳动物.ejs:
<%- include partials/header%>
<h1>Hello</h1>
<%- include partials/footer%>
【问题讨论】:
标签: javascript ejs backend web-deployment web-development-server