ejs
<%= count %> 개
<% list.forEach(function(value) { %>
<tr>
<td><%= value.salt %></td>
<td><%= value.hash %></td>
<td><%= value.address %></td>
<td><%= value.created_at.toISOString(); %></td>
</tr>
<% }) %>
forward
res.status(200)
render('forward/parent' , {
list : list,
count : count
});
https://github.com/cghun94/admin
'nodejs' 카테고리의 다른 글
동기 비동기 예제 (0) | 2021.09.28 |
---|---|
Promise 프로미스 (0) | 2021.09.24 |
TypeError: Router.use() requires a middleware function but got a Object (0) | 2021.06.22 |
동기 비동기 (0) | 2021.06.04 |
라우터(router) 를 쓰는 이유 (0) | 2021.06.03 |