ejs include的使用
建立與使用
<h1>12345</h1><html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <%- include('in'); %> </body> </html>
Last updated
Was this helpful?